Add Windows and macOS Codemagic workflows

This commit is contained in:
2026-09-04 18:44:28 -07:00
parent 1400d538f3
commit 971eae4af1

47
codemagic.yaml Normal file
View File

@@ -0,0 +1,47 @@
workflows:
windows-release:
name: Build Windows Release
max_build_duration: 60
instance_type: windows_x86_64
environment:
groups:
- gitlab_credentials
node: 22.14.0
cache:
cache_paths:
- $USERPROFILE/.cargo/registry
- $USERPROFILE/.cargo/git
- src-tauri/target
scripts:
- name: Install dependencies
script: |
npm install
- name: Build & Publish Windows Release
script: |
node release.js --installer
artifacts:
- src-tauri/target/release/bundle/nsis/*.exe
macos-release:
name: Build macOS Release
max_build_duration: 60
instance_type: mac_mini_m2
environment:
groups:
- gitlab_credentials
node: 22.14.0
cache:
cache_paths:
- $HOME/.cargo/registry
- $HOME/.cargo/git
- src-tauri/target
scripts:
- name: Install dependencies
script: |
npm install
- name: Build & Publish macOS Release
script: |
node release.js --installer
artifacts:
- src-tauri/target/release/bundle/dmg/*.dmg
- src-tauri/target/release/bundle/macos/*.app