Skip to content

Commit

Permalink
CI: Add cirrus ci config for building apple arm64 wheels [actions skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-erjavec committed Feb 1, 2023
1 parent a7f1e3d commit 12c06e6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
macos_arm64_wheel_task:
only_if: $CIRRUS_TAG =~ 'v.*'
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-xcode
env:
CIBW_TEST_COMMAND: pytest --pyargs bottleneck
CIBW_TEST_REQUIRES: pytest
CIBW_BUILD_VERBOSITY: 1
PATH: /opt/homebrew/opt/[email protected]/libexec/bin:$PATH
matrix:
- env:
CIBW_BUILD: cp{39,310,311}-macosx_arm64

prerequisites_script:
- brew install [email protected]
- python -m pip install cibuildwheel

cibuildwheel_script:
- python -m cibuildwheel ./

wheels_artifacts:
path: "wheelhouse/*"

0 comments on commit 12c06e6

Please sign in to comment.