Add cross-platform Nemotron transcription #148
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: rust-macos | |
| on: | |
| pull_request: | |
| paths: | |
| - "**/*.rs" | |
| - "**/Cargo.toml" | |
| - "**/Cargo.lock" | |
| - "rust-toolchain.toml" | |
| - "native/**" | |
| - ".cargo/config.toml" | |
| - ".github/workflows/rust-macos.yaml" | |
| - "flake.lock" | |
| - "flake.nix" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-rust-macos | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| actions: write | |
| id-token: write | |
| jobs: | |
| test: | |
| # WispAudioKit uses APIs that only exist on macOS 26 | |
| # (Speech.SpeechAnalyzer, Core Audio Process Tap) so we need a Tahoe | |
| # runner. `macos-26` is the GitHub-hosted runner image for it. | |
| runs-on: macos-26 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Select Xcode | |
| run: | | |
| sudo xcode-select -s /Applications/Xcode.app/Contents/Developer | |
| xcrun swift --version | |
| xcrun --find metal | |
| - uses: ./.github/actions/setup-nix | |
| - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | |
| with: | |
| cache-bin: "false" | |
| cache-workspace-crates: "true" | |
| cache-on-failure: "true" | |
| cmd-format: nix develop .#ci --quiet -c {0} | |
| - run: swift test --package-path native/WispAudioKit | |
| # Builds the WispAudioKit Swift static library through build.rs and | |
| # exercises the FFI round-trip via the smoke test in wisp-audiokit. | |
| - run: nix develop .#ci --quiet --command cargo test -p wisp-audiokit | |
| # Exercises AppModel/session reducer regressions where GPUI and the | |
| # WispAudioKit bridge can link against the Metal toolchain. | |
| - run: nix develop .#ci --quiet --command cargo test -p wisp-desktop --all-targets |