Skip to content

Commit

Permalink
Gha apple silicon (#2)
Browse files Browse the repository at this point in the history
* fix: cross-compile for Apple Silicon

* compile whisper_rs_sys
  • Loading branch information
tiero authored Oct 17, 2023
1 parent b0df946 commit 762e042
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ jobs:
- name: Add aarch64 target
run: rustup target add aarch64-apple-darwin

- name: Build whisper_rs_sys for Apple Silicon
run: cargo build --release --target=aarch64-apple-darwin -p whisper_rs_sys

- name: Build for Mac with Intel
run: cargo build --release

Expand Down

0 comments on commit 762e042

Please sign in to comment.