Skip to content

Commit

Permalink
CI: Build wheels for macos arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
sebp committed Feb 1, 2024
1 parent 9b82640 commit 5d53378
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/wheels-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2019, macos-11]
os: [ubuntu-22.04, windows-2019, macos-13, macos-14]
python: [38, 39, 310, 311, 312]

steps:
Expand Down Expand Up @@ -46,8 +46,7 @@ jobs:
CIBW_TEST_COMMAND_WINDOWS: pytest --strict-markers -m "not slow" -k "not test_fit_and_predict_linear_regression" {project}\\tests
CIBW_TEST_REQUIRES: pytest
# Skip trying to test arm64 builds on Intel Macs
CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64"

CIBW_TEST_SKIP: "{${{ runner.arch == 'ARM64' && '*-macosx_x86_64' || '*-macosx_arm64' }}, '*-macosx_universal2:arm64'}"
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
Expand Down

0 comments on commit 5d53378

Please sign in to comment.