Skip to content

Commit 0bffd9f

Browse files
authored
ci(linux): use GHA ARM runners to build ARM wheels (#281)
1 parent e29af03 commit 0bffd9f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323
jobs:
2424
lint:
2525
name: Lint
26-
runs-on: ubuntu-22.04
26+
runs-on: ubuntu-latest
2727
steps:
2828
- uses: actions/checkout@v4
2929
- uses: actions/setup-python@v5
@@ -40,17 +40,17 @@ jobs:
4040
fail-fast: false
4141
matrix:
4242
include:
43-
- os: ubuntu-22.04
43+
- os: ubuntu-24.04
4444
arch: "x86_64"
45-
- os: ubuntu-22.04
45+
- os: ubuntu-24.04
4646
arch: "i686"
47-
- os: ubuntu-22.04
47+
- os: ubuntu-24.04-arm
4848
arch: "aarch64"
49-
- os: ubuntu-22.04
49+
- os: ubuntu-24.04
5050
arch: "ppc64le"
51-
- os: ubuntu-22.04
51+
- os: ubuntu-24.04
5252
arch: "s390x"
53-
- os: ubuntu-22.04
53+
- os: ubuntu-24.04-arm
5454
arch: "armv7l"
5555
- os: windows-2019
5656
arch: "AMD64"
@@ -68,7 +68,7 @@ jobs:
6868

6969
- name: Set up QEMU
7070
uses: docker/[email protected]
71-
if: runner.os == 'Linux'
71+
if: runner.os == 'Linux' && runner.arch == 'X64'
7272

7373
- uses: yezz123/setup-uv@v4
7474

@@ -93,7 +93,7 @@ jobs:
9393
build_sdist:
9494
name: Build source distribution
9595
needs: [lint]
96-
runs-on: ubuntu-22.04
96+
runs-on: ubuntu-latest
9797
steps:
9898
- uses: actions/checkout@v4
9999
with:
@@ -140,7 +140,7 @@ jobs:
140140
check_dist:
141141
name: Check dist
142142
needs: [build_wheels, build_sdist, test_sdist]
143-
runs-on: ubuntu-22.04
143+
runs-on: ubuntu-latest
144144
steps:
145145
- uses: actions/download-artifact@v4
146146
with:

0 commit comments

Comments
 (0)