Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Add macos arm64 wheels to release build #427

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/*"
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_SKIP: pp*
CIBW_ARCHS_MACOS: "x86_64 arm64"

- name: Store wheel artifacts
uses: actions/upload-artifact@v3
Expand Down