Skip to content

Commit 5811f8e

Browse files
committed
CI: Fix aarch64 builds: their docker images need x86 runners, not ARM.
1 parent 6c52aa2 commit 5811f8e

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,23 @@ jobs:
8888
- manylinux_2_34_x86_64
8989
- musllinux_1_1_x86_64
9090
- musllinux_1_2_x86_64
91-
os: ["ubuntu-latest"]
91+
pyversion: ["cp"]
9292

9393
include:
94-
- image: manylinux_2_28_aarch64
95-
os: ubuntu-24.04-arm
94+
- image: manylinux_2_24_aarch64
95+
pyversion: "cp38"
96+
- image: manylinux_2_24_aarch64
97+
pyversion: "cp39"
98+
- image: manylinux_2_24_aarch64
99+
pyversion: "cp310"
100+
- image: manylinux_2_24_aarch64
101+
pyversion: "cp311"
102+
- image: manylinux_2_34_aarch64
103+
pyversion: "cp312"
96104
- image: manylinux_2_34_aarch64
97-
os: ubuntu-24.04-arm
105+
pyversion: "cp313"
98106

99-
runs-on: ${{ matrix.os }}
107+
runs-on: ubuntu-latest
100108

101109
steps:
102110
- uses: actions/checkout@v4
@@ -112,15 +120,15 @@ jobs:
112120
113121
- name: Building wheel
114122
run: |
115-
make PYTHON_WHEEL_BUILD_VERSION="cp*" sdist wheel_${{ matrix.image }}
123+
make PYTHON_WHEEL_BUILD_VERSION="{{ matrix.pyversion }}*" sdist wheel_${{ matrix.image }}
116124
117125
- name: Copy wheels in dist
118126
run: cp -v wheelhouse*/*-m*linux*.whl dist/ # manylinux / musllinux
119127

120128
- name: Archive Wheels
121129
uses: actions/upload-artifact@v4
122130
with:
123-
name: wheels-${{ matrix.image }}
131+
name: wheels-${{ matrix.image }}-{{ matrix.pyversion }}
124132
path: dist/*.whl
125133
if-no-files-found: ignore
126134

0 commit comments

Comments
 (0)