Skip to content

Commit

Permalink
ci: Test building of Mac and Windows arm64 wheel in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LennyN95 committed Apr 25, 2024
1 parent 5647a9d commit b17503c
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,34 @@ jobs:
# uses: codecov/codecov-action@v4.1.0
# with:
# token: ${{ secrets.CODECOV_TOKEN }}

checks-cibw:
name: >
Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }} (${{
matrix.arch }})
runs-on: ${{ matrix.runs-on }}
needs: [pre-commit]
strategy:
fail-fast: false
matrix:
include:
- runs-on: macos-14
python-version: cp312
arch: "arm64"

- runs-on: windows-latest
python-version: cp312
arch: "ARM64"
test-skip: "*-win_arm64"

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: pypa/cibuildwheel@v2.16.5
env:
CIBW_BUILD: "${{ matrix.python-version }}-*"
CIBW_ARCHS: "${{ matrix.arch }}"
CIBW_TEST_SKIP: "${{ matrix.test-skip }}"
CIBW_SKIP: "*musllinux*"

0 comments on commit b17503c

Please sign in to comment.