support mac user test

This commit is contained in:
2026-09-04 18:32:40 -07:00
parent b1d01d94da
commit 1400d538f3
3 changed files with 92 additions and 17 deletions

43
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,43 @@
stages:
- build
.cache_rust: &cache_rust
cache:
key:
files:
- src-tauri/Cargo.lock
paths:
- src-tauri/target/
- .cargo/registry/
- .cargo/git/
build:windows:
stage: build
tags:
- saas-windows-medium-amd64
<<: *cache_rust
variables:
CARGO_HOME: $CI_PROJECT_DIR\.cargo
script:
- npm install
- npm run release:full
artifacts:
paths:
- src-tauri/target/release/bundle/nsis/*.exe
expire_in: 1 week
build:macos:
stage: build
tags:
- saas-macos-medium-m1
<<: *cache_rust
variables:
CARGO_HOME: $CI_PROJECT_DIR/.cargo
script:
- npm install
- npm run release:full
artifacts:
paths:
- src-tauri/target/release/bundle/dmg/*.dmg
- src-tauri/target/release/bundle/macos/*.app
expire_in: 1 week