Skip to content

Commit

Permalink
CI: Add cirrus ci config for building apple arm64 wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-erjavec committed Feb 1, 2023
1 parent a7f1e3d commit 9e0adc2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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]/bin:$PATH
matrix:
- env:
# cibuildwheel can not test on Python 3.8 even on a Apple Silicon machine.
# For details see: https://github.com/pypa/cibuildwheel/pull/1169
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 9e0adc2

Please sign in to comment.