Skip to content

Commit

Permalink
Install rosetta on macos-aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
cyqsimon committed Apr 15, 2024
1 parent 94a9e92 commit 63ccea9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ jobs:
git: https://github.com/cross-rs/cross.git
rev: 085092c

- name: Install rosetta for MacOS ARM
if: matrix.build == 'macos-aarch64'
run: softwareupdate --install-rosetta

- name: Build
id: build
run: ${{ matrix.cargo }} build --verbose --target ${{ matrix.target }}
Expand Down

0 comments on commit 63ccea9

Please sign in to comment.