Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
the runners are now arm64
  • Loading branch information
rroohhh committed Jan 20, 2025
1 parent af9cd43 commit a88e57a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,19 @@ jobs:
submodules: true

- name: set up rust
if: matrix.os != 'ubuntu-latest'
run: >
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=stable --profile=minimal -y &&
rustup show
- run: rustup target add aarch64-apple-darwin
- run: |
rustup target add aarch64-apple-darwin
rustup target add x86_64-apple-darwin
if: matrix.os == 'macos-latest'
- name: Build wheels
uses: pypa/cibuildwheel@v2.12.3
env:
CIBW_ARCHS_MACOS: "universal2"
CIBW_ARCHS_MACOS: "arm64 universal2"
CIBW_ARCHS_LINUX: "auto64"
CIBW_BUILD: ${{matrix.pyver}}-*
CIBW_BEFORE_BUILD_LINUX: >
Expand Down

0 comments on commit a88e57a

Please sign in to comment.