From 27569ada014fef481b58e54afec42ba1f5f3ea00 Mon Sep 17 00:00:00 2001 From: Marco Nenciarini Date: Wed, 28 May 2025 09:56:00 +0200 Subject: [PATCH] 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 Signed-off-by: Marco Nenciarini --- .github/workflows/ci.yml | 2 ++ .github/workflows/release-please.yml | 9 ++++++--- .github/workflows/release-publish.yml | 2 ++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2693b85..0ac7323 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,8 @@ jobs: with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Install QEMU static binaries + uses: docker/setup-qemu-action@v3 - name: Install Task uses: arduino/setup-task@v2 - name: Install Dagger diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index ebee720..e1216d9 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -12,11 +12,14 @@ jobs: # TODO: googleapis/release-please-action cannot sign commits yet. # We'll use the cli until there's a fix for # https://github.com/googleapis/release-please/issues/2280. - - uses: actions/setup-node@v4 - with: - node-version: 20 - name: Checkout uses: actions/checkout@v4 + - name: Install node + uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Install QEMU static binaries + uses: docker/setup-qemu-action@v3 - name: Install Task uses: arduino/setup-task@v2 - name: Install Dagger diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index a838e08..5bd4dc1 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -9,6 +9,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Install QEMU static binaries + uses: docker/setup-qemu-action@v3 - name: Install Task uses: arduino/setup-task@v2 - name: Install Dagger