Skip to content

Commit f63969b

Browse files
committed
Improve wheel build time by using native Linux arm runner
1 parent 268fe24 commit f63969b

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/ci-build-release-wheels.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
linux-wheel:
3333
name: Wheel ${{matrix.image.name}} - Py ${{matrix.python.version}} - ${{matrix.cpu.platform}}
34-
runs-on: ubuntu-latest
34+
runs-on: ${{matrix.cpu.runner}}
3535
timeout-minutes: 360
3636

3737
strategy:
@@ -47,16 +47,13 @@ jobs:
4747
- {version: '3.13', spec: 'cp313-cp313'}
4848
- {version: '3.14', spec: 'cp314-cp314'}
4949
cpu:
50-
- {arch: 'x86_64', platform: 'x86_64'}
51-
- {arch: 'aarch64', platform: 'arm64'}
50+
- {arch: 'x86_64', platform: 'x86_64', runner: 'ubuntu-latest'}
51+
- {arch: 'aarch64', platform: 'arm64', runner: 'ubuntu-24.04-arm'}
5252

5353
steps:
5454
- name: checkout
5555
uses: actions/checkout@v3
5656

57-
- name: Set up QEMU
58-
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a
59-
6057
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
6158

6259
- name: Build Manylinux Docker image
@@ -82,7 +79,6 @@ jobs:
8279
- name: Test wheel file
8380
run: |
8481
docker run -i -v $PWD:/pulsar-client-python \
85-
--platform linux/${{matrix.cpu.arch}} \
8682
python:${{matrix.python.version}}${{matrix.image.py_suffix}} \
8783
/pulsar-client-python/pkg/test-wheel.sh
8884

0 commit comments

Comments
 (0)