Skip to content

Commit c5f30ee

Browse files
committed
CI: Add cirrus ci config for building apple arm64 wheels [actions skip]
1 parent a7f1e3d commit c5f30ee

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.cirrus.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
macos_arm64_wheel_task:
2+
# only_if: $CIRRUS_TAG =~ 'v.*'
3+
macos_instance:
4+
image: ghcr.io/cirruslabs/macos-monterey-xcode
5+
env:
6+
CIBW_TEST_COMMAND: pytest --pyargs bottleneck
7+
CIBW_TEST_REQUIRES: pytest
8+
CIBW_BUILD_VERBOSITY: 1
9+
PATH: /opt/homebrew/opt/[email protected]/libexec/bin:$PATH
10+
matrix:
11+
- env:
12+
CIBW_BUILD: cp{39,310,311}-macosx_arm64
13+
14+
prerequisites_script:
15+
- brew install [email protected]
16+
- python -m pip install cibuildwheel
17+
18+
cibuildwheel_script:
19+
- python -m cibuildwheel ./
20+
21+
wheels_artifacts:
22+
path: "wheelhouse/*"

0 commit comments

Comments
 (0)