diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 037f792bc..c3c768ef4 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -57,6 +57,8 @@ jobs: arch: universal2 - os: windows-latest arch: auto32 + - os: ubuntu-24.04-arm + arch: aarch64 steps: - uses: actions/checkout@v4 with: @@ -78,43 +80,12 @@ jobs: name: wheels-${{ matrix.os }}-${{ matrix.arch }} path: wheelhouse/*.whl - build_arch_wheels: - name: py${{ matrix.python }} on ${{ matrix.arch }} - runs-on: ubuntu-latest - strategy: - matrix: - # aarch64 uses qemu so it's slow, build each py version in parallel jobs - python: [38, 39, 310, 311, 312, 313] - arch: [aarch64] - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - uses: docker/setup-qemu-action@v3.3.0 - with: - # temporarily pin to qemu@v8 to workaround non-determininstic gcc segfaults - # https://github.com/docker/setup-qemu-action/issues/188 - image: tonistiigi/binfmt:qemu-v8.1.5 - platforms: all - - name: Install dependencies - run: pip install cibuildwheel - - name: Build Wheels - run: python -m cibuildwheel --output-dir wheelhouse . - env: - CIBW_BUILD: cp${{ matrix.python }}-* - CIBW_ARCHS: ${{ matrix.arch }} - - uses: actions/upload-artifact@v4 - with: - name: wheels-py${{ matrix.python }}-linux-${{ matrix.arch }} - path: wheelhouse/*.whl - deploy: name: Upload to PyPI on tagged commit runs-on: ubuntu-latest needs: - build_pure - build_wheels - - build_arch_wheels # only run if the commit is tagged... if: startsWith(github.ref, 'refs/tags/') steps: