Skip to content

Commit 27569ad

Browse files
authored
ci(publish): fix emulated arm64 build (#357)
Use docker/setup-qemu-action to fix intermittent segmentation fault when building for arm64. Signed-off-by: Marco Nenciarini <[email protected]> Signed-off-by: Marco Nenciarini <[email protected]>
1 parent 12b92a6 commit 27569ad

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
with:
3333
fetch-depth: 0
3434
ref: ${{ github.event.pull_request.head.sha }}
35+
- name: Install QEMU static binaries
36+
uses: docker/setup-qemu-action@v3
3537
- name: Install Task
3638
uses: arduino/setup-task@v2
3739
- name: Install Dagger

.github/workflows/release-please.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ jobs:
1212
# TODO: googleapis/release-please-action cannot sign commits yet.
1313
# We'll use the cli until there's a fix for
1414
# https://github.com/googleapis/release-please/issues/2280.
15-
- uses: actions/setup-node@v4
16-
with:
17-
node-version: 20
1815
- name: Checkout
1916
uses: actions/checkout@v4
17+
- name: Install node
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
21+
- name: Install QEMU static binaries
22+
uses: docker/setup-qemu-action@v3
2023
- name: Install Task
2124
uses: arduino/setup-task@v2
2225
- name: Install Dagger

.github/workflows/release-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
steps:
1010
- name: Checkout
1111
uses: actions/checkout@v4
12+
- name: Install QEMU static binaries
13+
uses: docker/setup-qemu-action@v3
1214
- name: Install Task
1315
uses: arduino/setup-task@v2
1416
- name: Install Dagger

0 commit comments

Comments
 (0)