Skip to content

Commit 5f13152

Browse files
authored
Build macOS arm64 wheels on arm64 runner (#536)
1 parent ecd8955 commit 5f13152

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
python-version: ["3.10", "3.11", "3.12"]
16-
platform: [ubuntu-latest, windows-latest, macos-12]
16+
# macos-12 is an intel runner, macos-14 is a arm64 runner
17+
platform: [ubuntu-latest, windows-latest, macos-12, macos-14]
1718

1819
steps:
1920
- name: Checkout source

.github/workflows/wheel.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
os: [ubuntu-latest, windows-latest, macos-12]
16+
# macos-12 is an intel runner, macos-14 is a arm64 runner
17+
os: [ubuntu-latest, windows-latest, macos-12, macos-14]
1718
env:
1819
CIBW_TEST_COMMAND: python -c "import numcodecs"
1920
CIBW_BUILD: "cp310-* cp311-* cp312-*"
2021
CIBW_SKIP: "pp* *-musllinux_* *win32 *_i686 *_s390x"
21-
CIBW_ARCHS_MACOS: 'x86_64 arm64'
22-
CIBW_TEST_SKIP: '*-macosx_arm64'
2322
# note: CIBW_ENVIRONMENT is now set in pyproject.toml
2423

2524
steps:

0 commit comments

Comments
 (0)