Files
drop-app/.gitlab-ci.yml
2025-01-25 18:46:33 +11:00

32 lines
791 B
YAML

stages:
- build
build-linux:
stage: build
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/rustlang/rust:nightly
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
- export
- export RUST_LOG=warn
- yarnpkg tauri build
- cp src-tauri/target/release/bundle/deb/*.deb .
- cp src-tauri/target/release/bundle/rpm/*.rpm .
- cp src-tauri/target/release/bundle/appimage/*.AppImage .
artifacts:
paths:
- "*.{deb,rpm,AppImage}"
build-windows:
stage: build
tags:
- windows
script:
- yarn
- yarn tauri build
- cp src-tauri/target/release/bundle/nsis/*.exe .
artifacts:
paths:
- "*.exe"