Skip to content

Commit

Permalink
Build linux-arm natively
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpre committed Jan 18, 2025
1 parent 8a420af commit 25b52ad
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@ jobs:
CIBW_TEST_EXTRAS: "tests"
# No need to build wheels for pypy because the pure python wheels can be used
# PyPy documentation recommends no to build the C extension
# CPython 3.13 not supported yet because of pint
CIBW_SKIP: "{pp*,*-musllinux*,*win32,*-manylinux_i686}"
strategy:
fail-fast: false
matrix:
include:
- os: "ubuntu-latest"
CIBW_ARCHS: "x86_64"
- os: "ubuntu-latest"
- os: "ubuntu-24.04-arm"
CIBW_ARCHS: "aarch64"
- os: "windows-latest"
CIBW_ARCHS: "AMD64"
Expand All @@ -39,16 +38,10 @@ jobs:
CIBW_ARCHS: "arm64"

steps:
- name: Set up QEMU
if: contains(matrix.CIBW_ARCHS, 'aarch64')
uses: docker/setup-qemu-action@v3
with:
platforms: arm64

- uses: actions/checkout@v4

- name: Build wheels for CPython
uses: pypa/cibuildwheel@v2.21.3
uses: pypa/cibuildwheel@v2.22
env:
CIBW_ARCHS: ${{ matrix.CIBW_ARCHS }}

Expand Down

0 comments on commit 25b52ad

Please sign in to comment.