Skip to content

Commit a667c03

Browse files
committed
ci: build aarch64/armv7l wheels on GHA ARM runner
1 parent a04ffc2 commit a667c03

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-upload.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
build_wheels:
2828
name: Build ${{ matrix.archs }} ${{ matrix.build }} wheels on ${{ matrix.os }}
2929
needs: [lint]
30-
runs-on: ${{ matrix.os }}
30+
runs-on: "${{ matrix.os }}${{ startsWith(matrix.archs, 'aarch64') && '-arm' || '' }}"
3131
strategy:
3232
matrix:
33-
os: [ubuntu-22.04]
34-
archs: ["x86_64, i686", "aarch64", "ppc64le", "s390x", "armv7l"]
33+
os: [ubuntu-24.04]
34+
archs: ["x86_64, i686", "aarch64, armv7l", "ppc64le", "s390x"]
3535
build: ["manylinux", "musllinux"]
3636
include:
3737
- os: windows-2019
@@ -57,7 +57,7 @@ jobs:
5757

5858
- name: Set up QEMU
5959
uses: docker/[email protected]
60-
if: runner.os == 'Linux'
60+
if: runner.os == 'Linux' && runner.arch == 'X64'
6161

6262
# see https://cibuildwheel.pypa.io/en/stable/faq/#macos-building-cpython-38-wheels-on-arm64
6363
- name: "Install python 3.8 universal2 on macOS arm64"

0 commit comments

Comments
 (0)