Skip to content

Commit 6692fb2

Browse files
authored
ci: use new native arm builders for wheels (#285)
1 parent ea10902 commit 6692fb2

1 file changed

Lines changed: 2 additions & 35 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
os: [ubuntu-latest, windows-latest, macos-latest]
37+
os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-latest]
3838
arch: [auto64]
3939
include:
4040
- os: macos-latest
@@ -58,41 +58,8 @@ jobs:
5858
name: artifact-wheel-${{ matrix.os }}-${{ matrix.arch }}
5959
path: wheelhouse/*.whl
6060

61-
build_alt_wheels:
62-
name: Wheel on ${{ matrix.os }} (cp${{ matrix.python }}/${{ matrix.libc }}/${{ matrix.arch }})
63-
runs-on: ${{ matrix.os }}
64-
strategy:
65-
fail-fast: false
66-
matrix:
67-
os: [ubuntu-latest]
68-
libc: [manylinux, musllinux]
69-
arch: [aarch64]
70-
python: [38, 39, 310, 311, 312, 313]
71-
72-
steps:
73-
- uses: actions/checkout@v4
74-
with:
75-
submodules: recursive
76-
fetch-tags: true
77-
fetch-depth: 0
78-
79-
- uses: docker/setup-qemu-action@v3
80-
if: matrix.os == 'ubuntu-latest'
81-
82-
- uses: pypa/cibuildwheel@v2.23
83-
env:
84-
CIBW_ARCHS: ${{ matrix.arch }}
85-
CIBW_BUILD: cp${{ matrix.python }}*${{ matrix.libc }}*
86-
87-
- name: Upload wheels
88-
uses: actions/upload-artifact@v4
89-
with:
90-
name: artifact-wheel-${{ matrix.os }}-cp${{ matrix.python }}-${{ matrix.libc }}-${{ matrix.arch }}
91-
path: wheelhouse/*.whl
92-
93-
9461
pypi-publish:
95-
needs: [build_wheels, build_alt_wheels, make_sdist]
62+
needs: [build_wheels, make_sdist]
9663
name: Upload release to PyPI
9764
runs-on: ubuntu-latest
9865
if: github.event_name == 'release' && github.event.action == 'published'

0 commit comments

Comments
 (0)