Skip to content

Commit 74ddcf6

Browse files
committed
ci: use GitHub Action Linux arm runners
Signed-off-by: Christopher Arndt <[email protected]>
1 parent 9336d4d commit 74ddcf6

File tree

3 files changed

+6
-90
lines changed

3 files changed

+6
-90
lines changed

.github/workflows/pr_to_master.yml

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
strategy:
4141
fail-fast: true
4242
matrix:
43-
os: [ubuntu-latest, windows-latest, macos-latest]
43+
os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-latest]
4444
steps:
4545

4646
- uses: actions/checkout@v4
@@ -69,41 +69,13 @@ jobs:
6969
# Skip trying to test arm64 builds on Intel Macs
7070
CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64"
7171

72-
- name: Upload wheels
73-
uses: actions/upload-artifact@v4
74-
with:
75-
name: bdist-${{ matrix.os }}
76-
path: wheelhouse/*.whl
77-
compression-level: 0
78-
79-
build_arch_wheels:
80-
name: Build wheels on Linux ${{ matrix.arch }}
81-
runs-on: ubuntu-20.04
82-
strategy:
83-
matrix:
84-
arch: [aarch64]
85-
steps:
86-
87-
- uses: actions/checkout@v4
88-
with:
89-
submodules: true
90-
91-
- uses: docker/setup-qemu-action@v3
92-
with:
93-
platforms: all
94-
95-
- name: Build wheels
96-
uses: pypa/[email protected]
97-
env:
98-
CIBW_ARCHS: ${{ matrix.arch }}
99-
10072
- name: Verify clean directory
10173
run: git diff --exit-code
10274
shell: bash
10375

10476
- name: Upload wheels
10577
uses: actions/upload-artifact@v4
10678
with:
107-
name: bdist-linux-${{ matrix.arch }}
79+
name: bdist-${{ matrix.os }}
10880
path: wheelhouse/*.whl
10981
compression-level: 0

.github/workflows/push_to_master.yml

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
strategy:
4141
fail-fast: true
4242
matrix:
43-
os: [ubuntu-latest, windows-latest, macos-latest]
43+
os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-latest]
4444
steps:
4545

4646
- uses: actions/checkout@v4
@@ -69,42 +69,14 @@ jobs:
6969
# Skip trying to test arm64 builds on Intel Macs
7070
CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64"
7171

72-
- name: Upload wheels
73-
uses: actions/upload-artifact@v4
74-
with:
75-
name: bdist-${{ matrix.os }}
76-
path: wheelhouse/*.whl
77-
compression-level: 0
78-
79-
build_arch_wheels:
80-
name: Build wheels on Linux ${{ matrix.arch }}
81-
runs-on: ubuntu-20.04
82-
strategy:
83-
matrix:
84-
arch: [aarch64]
85-
steps:
86-
87-
- uses: actions/checkout@v4
88-
with:
89-
submodules: true
90-
91-
- uses: docker/setup-qemu-action@v3
92-
with:
93-
platforms: all
94-
95-
- name: Build wheels
96-
uses: pypa/[email protected]
97-
env:
98-
CIBW_ARCHS: ${{ matrix.arch }}
99-
10072
- name: Verify clean directory
10173
run: git diff --exit-code
10274
shell: bash
10375

10476
- name: Upload wheels
10577
uses: actions/upload-artifact@v4
10678
with:
107-
name: bdist-linux-${{ matrix.arch }}
79+
name: bdist-${{ matrix.os }}
10880
path: wheelhouse/*.whl
10981
compression-level: 0
11082

.github/workflows/release.yml

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
runs-on: ${{ matrix.os }}
4444
strategy:
4545
matrix:
46-
os: [ubuntu-latest, windows-latest, macos-latest]
46+
os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-latest]
4747
steps:
4848

4949
- uses: actions/checkout@v
@@ -72,42 +72,14 @@ jobs:
7272
# Skip trying to test arm64 builds on Intel Macs
7373
CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64"
7474

75-
- name: Upload wheels
76-
uses: actions/upload-artifact@v4
77-
with:
78-
name: bdist-${{ matrix.os }}
79-
path: wheelhouse/*.whl
80-
compression-level: 0
81-
82-
build_arch_wheels:
83-
name: Build wheels on Linux ${{ matrix.arch }}
84-
runs-on: ubuntu-20.04
85-
strategy:
86-
matrix:
87-
arch: [aarch64]
88-
steps:
89-
90-
- uses: actions/checkout@v4
91-
with:
92-
submodules: true
93-
94-
- uses: docker/setup-qemu-action@v3
95-
with:
96-
platforms: all
97-
98-
- name: Build wheels
99-
uses: pypa/[email protected]
100-
env:
101-
CIBW_ARCHS: ${{ matrix.arch }}
102-
10375
- name: Verify clean directory
10476
run: git diff --exit-code
10577
shell: bash
10678

10779
- name: Upload wheels
10880
uses: actions/upload-artifact@v4
10981
with:
110-
name: bdist-linux-${{ matrix.arch }}
82+
name: bdist-${{ matrix.os }}
11183
path: wheelhouse/*.whl
11284
compression-level: 0
11385

0 commit comments

Comments
 (0)