mattrguerra/cortexmainPrivate on GitHub, published here in full

macos.yml

Language YAML904 B31 lines

.github/workflows/macos.yml

  1. name: macos
  2. # The .dmg is only needed for a release, and macOS runners are slow,
  3. # so this runs on demand and on version tags, not on every push.
  4. on:
  5. workflow_dispatch:
  6. push:
  7. tags: ['v*']
  8. jobs:
  9. dmg:
  10. runs-on: macos-14
  11. steps:
  12. - uses: actions/checkout@v4
  13. - uses: dtolnay/rust-toolchain@stable
  14. with:
  15. targets: aarch64-apple-darwin
  16. - uses: Swatinem/rust-cache@v2
  17. - uses: actions/setup-node@v4
  18. with:
  19. node-version: 22
  20. cache: npm
  21. - run: npm ci
  22. - run: npx vite build
  23. # The real Keychain store and the vibrancy code compile and pass here.
  24. - run: cargo test --workspace
  25. - run: npx tauri build --target aarch64-apple-darwin --bundles dmg
  26. - uses: actions/upload-artifact@v4
  27. with:
  28. name: Cortex-macos-arm64
  29. path: target/aarch64-apple-darwin/release/bundle/dmg/*.dmg