Skip to content

Commit

Permalink
gha: compile for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
tiero committed Oct 26, 2023
1 parent a9f8e30 commit dc25411
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,16 @@ jobs:
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-


- name: Install CMake
run: brew install cmake

- name: Build whisper C++ for Apple Silicon
run: |
mkdir build-aarch64 && cd build-aarch64
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=arm64 ..
make
- name: Add aarch64 target
run: rustup target add aarch64-apple-darwin

Expand Down

0 comments on commit dc25411

Please sign in to comment.