mirror of
https://gitlab.com/vyla-entertainment/home.git
synced 2026-11-12 13:17:21 -05:00
Add Windows and macOS Codemagic workflows
This commit is contained in:
47
codemagic.yaml
Normal file
47
codemagic.yaml
Normal 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
|
||||
Reference in New Issue
Block a user