Skip to content

Commit 3893e1d

Browse files
committed
Use native GHA ubuntu-24.04-arm image for building wheels
1 parent 0fd35ba commit 3893e1d

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

.github/workflows/publishing.yml

+2-22
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
runs-on: ${{ matrix.os }}
6161
strategy:
6262
matrix:
63-
os: [ubuntu-24.04, windows-2019, macos-14]
63+
os: [ubuntu-24.04, ubuntu-24.04-arm, windows-2019, macos-14]
6464
env:
6565
CIBW_SKIP: cp27-*
6666
steps:
@@ -72,29 +72,9 @@ jobs:
7272
name: cibw-wheels-x86-${{ matrix.os }}-${{ strategy.job-index }}
7373
path: ./wheelhouse/*.whl
7474

75-
build-wheels-linux-aarch64:
76-
name: Build wheels (ubuntu-24.04-aarch64)
77-
needs: [tests, linters]
78-
runs-on: ubuntu-24.04
79-
env:
80-
CIBW_SKIP: cp27-*
81-
steps:
82-
- uses: actions/checkout@v3
83-
- name: Set up QEMU
84-
if: runner.os == 'Linux'
85-
uses: docker/setup-qemu-action@v2
86-
- name: Build wheels
87-
uses: pypa/[email protected]
88-
env:
89-
CIBW_ARCHS_LINUX: aarch64
90-
- uses: actions/upload-artifact@v4
91-
with:
92-
name: cibw-wheels-arm-${{ matrix.os }}-${{ strategy.job-index }}
93-
path: ./wheelhouse/*.whl
94-
9575
publish:
9676
name: Publish on PyPI
97-
needs: [build-sdist, build-wheels, build-wheels-linux-aarch64]
77+
needs: [build-sdist, build-wheels]
9878
runs-on: ubuntu-24.04
9979
steps:
10080
- uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)