mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-09 20:12:14 +10:00
29 lines
678 B
YAML
29 lines
678 B
YAML
stages:
|
|
- build
|
|
|
|
build-linux:
|
|
stage: build
|
|
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/rust:1.81.0-bookworm
|
|
script:
|
|
- apt-get update -y
|
|
- apt-get install yarnpkg libsoup-3.0-0 libsoup-3.0-dev libatk-adaptor libgtk-3-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev -y
|
|
- yarnpkg
|
|
- yarnpkg tauri build
|
|
- cp src-tauri/target/release/bundle/deb/*.deb .
|
|
- cp src-tauri/target/release/bundle/rpm/*.rpm .
|
|
artifacts:
|
|
paths:
|
|
- "*.{deb,rpm}"
|
|
|
|
build-windows:
|
|
stage: build
|
|
tags:
|
|
- windows
|
|
script:
|
|
- yarn
|
|
- yarn tauri build
|
|
- cp src-tauri/target/release/bundle/nsis/*.exe .
|
|
artifacts:
|
|
paths:
|
|
- "*.exe"
|