-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Add cirrus ci config for building apple arm64 wheels [actions skip]
- Loading branch information
1 parent
a7f1e3d
commit 12c06e6
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/*" |