Skip to content

Commit a6f8c0f

Browse files
committed
Build using native ARM runners
1 parent 8e5b4c0 commit a6f8c0f

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,22 @@ on:
77

88
jobs:
99
build:
10-
name: Build
11-
runs-on: ubuntu-latest
1210
strategy:
1311
fail-fast: false
1412
matrix:
15-
ARCH: ['x86_64', 'i686', 'armhf', 'aarch64']
13+
include:
14+
- ARCH: x86_64
15+
RUNS_ON: ubuntu-24.04
16+
- ARCH: i686
17+
RUNS_ON: ubuntu-24.04
18+
- ARCH: aarch64
19+
RUNS_ON: ubuntu-24.04-arm
20+
- ARCH: armhf
21+
RUNS_ON: ubuntu-24.04-arm
22+
23+
name: Build ${{ matrix.ARCH }}
24+
25+
runs-on: ${{ matrix.RUNS_ON }}
1626

1727
env:
1828
ARCH: ${{ matrix.ARCH }}
@@ -22,9 +32,6 @@ jobs:
2232
with:
2333
submodules: 'recursive'
2434

25-
- name: Set up QEMU integration for Docker
26-
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
27-
2835
- name: Build in Docker container
2936
run: |
3037
bash -ex ci/build-in-docker.sh

0 commit comments

Comments
 (0)