macos.yml
Language YAML904 B31 lines
name: macos# The .dmg is only needed for a release, and macOS runners are slow,# so this runs on demand and on version tags, not on every push.on:workflow_dispatch:push:tags: ['v*']jobs:dmg:runs-on: macos-14steps:- uses: actions/checkout@v4- uses: dtolnay/rust-toolchain@stablewith:targets: aarch64-apple-darwin- uses: Swatinem/rust-cache@v2- uses: actions/setup-node@v4with:node-version: 22cache: npm- run: npm ci- run: npx vite build# The real Keychain store and the vibrancy code compile and pass here.- run: cargo test --workspace- run: npx tauri build --target aarch64-apple-darwin --bundles dmg- uses: actions/upload-artifact@v4with:name: Cortex-macos-arm64path: target/aarch64-apple-darwin/release/bundle/dmg/*.dmg