Skip to content

Commit

Permalink
Fix missing macOS arm64 support.
Browse files Browse the repository at this point in the history
Update actions to avoid python setup deprecated warnings regarding Node.js 20.
  • Loading branch information
graphenn authored and brentp committed Jan 30, 2024
1 parent 45e3f2c commit 6fb4624
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- [ubuntu-22.04, musllinux_x86_64]
- [ubuntu-22.04, manylinux_aarch64]
- [ubuntu-22.04, musllinux_aarch64]
# macOS build arm64 on x86_64 with cross-compiler
- [macos-12, macosx_x86_64]
- [macos-12, macosx_arm64]
python-version: [pp310, cp37, cp38, cp39, cp310, cp311, cp312]
exclude:
# pp310, cp37, cp38 on musllinux is not support
Expand All @@ -49,6 +49,11 @@ jobs:
python-version: cp310
- buildplat: [ubuntu-22.04, musllinux_aarch64]
python-version: pp310
# cp37, pp310 on macos arm64 is not supported
- buildplat: [macos-12, macosx_arm64]
python-version: cp37
- buildplat: [macos-12, macosx_arm64]
python-version: pp310

steps:
- uses: actions/checkout@v4
Expand All @@ -60,7 +65,7 @@ jobs:
uses: docker/setup-qemu-action@v3

- name: Build wheels
uses: pypa/[email protected].2
uses: pypa/[email protected].4
with:
package-dir: .
output-dir: wheelhouse
Expand Down Expand Up @@ -88,6 +93,8 @@ jobs:
CYVCF2_HTSLIB_CONFIGURE_OPTIONS="--enable-libcurl --enable-s3 --enable-lzma --enable-bz2 --with-libdeflate"
CYTHONIZE=1
CIBW_TEST_COMMAND: "{project}/ci/test"
# macOS build arm64 on x86_64 with cross-compiler, not support test
CIBW_TEST_SKIP: "macosx_arm64"

# Enable tmate debugging of manually-triggered workflows if the input option was provided
- name: Setup tmate session
Expand Down

0 comments on commit 6fb4624

Please sign in to comment.