-
Notifications
You must be signed in to change notification settings - Fork 10
/
.cirrus.yml
24 lines (22 loc) · 989 Bytes
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#########################################################
# Build arm64 wheels for OSX on Cirrus CI
#########################################################
cirrus_wheels_macos_arm64_task:
name: Build macOS arm64 wheels.
trigger_type: manual
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-xcode:latest
env:
PATH: /opt/homebrew/opt/[email protected]/bin:$PATH
CIBW_ARCHS_MACOS: arm64
install_pre_requirements_script:
- brew install [email protected]
- ln -s python3 /opt/homebrew/opt/[email protected]/bin/python
- which python
- python --version
install_cibuildwheel_script:
- python -m pip install cibuildwheel
run_cibuildwheel_script:
- CIBW_BUILD_VERBOSITY=3 CIBW_SKIP="*-win32 *-manylinux_* *-musllinux_*" CIBW_ARCHS_MACOS="arm64" CIBW_BUILD="cp39-* cp310-* cp311-*" CIBW_BEFORE_ALL_MACOS="brew tap fbkarsdorp/homebrew-lamachine && brew install icu4c libxml2 frog" cibuildwheel --platform macos
wheels_artifacts:
path: "wheelhouse/*"