Skip to content

Commit

Permalink
Build macOS arm64 wheels on arm64 runner (zarr-developers#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby authored and DimitriPapadopoulos committed Jun 20, 2024
1 parent 7e25a25 commit eaba018
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
platform: [ubuntu-latest, windows-latest, macos-12]
# macos-12 is an intel runner, macos-14 is a arm64 runner
platform: [ubuntu-latest, windows-latest, macos-12, macos-14]

steps:
- name: Checkout source
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/wheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-12]
# macos-12 is an intel runner, macos-14 is a arm64 runner
os: [ubuntu-latest, windows-latest, macos-12, macos-14]
env:
CIBW_TEST_COMMAND: python -c "import numcodecs"
CIBW_BUILD: "cp310-* cp311-* cp312-*"
CIBW_SKIP: "pp* *-musllinux_* *win32 *_i686 *_s390x"
CIBW_ARCHS_MACOS: 'x86_64 arm64'
CIBW_TEST_SKIP: '*-macosx_arm64'
# note: CIBW_ENVIRONMENT is now set in pyproject.toml

steps:
Expand Down

0 comments on commit eaba018

Please sign in to comment.