Skip to content

Commit 868683e

Browse files
committed
Build aarch64 with docker on ubuntu-24.04-arm
1 parent 94bfa3c commit 868683e

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/build.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,20 @@ defaults:
2222

2323
jobs:
2424
build:
25-
runs-on: ubuntu-latest
26-
2725
strategy:
2826
fail-fast: false
2927
matrix:
3028
include:
3129
- appimage_arch: i686
30+
runner: ubuntu-24.04
3231
- appimage_arch: x86_64
32+
runner: ubuntu-24.04
3333
- appimage_arch: armhf
34+
runner: ubuntu-24.04
3435
- appimage_arch: aarch64
36+
runner: ubuntu-24.04-arm
37+
38+
runs-on: ${{ matrix.runner }}
3539

3640
steps:
3741
- name: Checkout
@@ -43,7 +47,10 @@ jobs:
4347
git rev-parse --short HEAD | xargs >> src/runtime/version
4448
4549
- name: Set up QEMU integration for Docker
46-
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
50+
run: |
51+
if [ "$(uname -m)" != "${{ matrix.appimage_arch }}" ]; then
52+
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
53+
fi
4754
4855
- name: Build
4956
env:

0 commit comments

Comments
 (0)