From 8828cb475e4503713fde3ea55ef3c53c11f1c1f5 Mon Sep 17 00:00:00 2001 From: Carlos Abalde Date: Tue, 28 Jan 2025 11:21:45 +0100 Subject: [PATCH] Enabled ARM64 builds --- .github/workflows/main.yml | 7 +------ extras/github/build-action/action.yml | 7 ++++--- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6777aeb..a6f4032 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,9 +31,7 @@ jobs: go-version: ${{ env.GO_VERSION }} build-arm64: - # XXX: 'ubuntu-24.04-arm' is not supported yet for private repositories. For - # now, the build action relies on QEMU to emulate the ARM64 architecture. - runs-on: ubuntu-24.04 + runs-on: ubuntu-24.04-arm strategy: matrix: @@ -49,9 +47,6 @@ jobs: - uses: actions/checkout@v4 - uses: ./extras/github/build-action - # XXX: ARM64 build is temporarily disabled. The QEMU emulation is just - # too slow for now. - if: false with: platform: ${{ matrix.platform }} architecture: ${{ matrix.architecture }} diff --git a/extras/github/build-action/action.yml b/extras/github/build-action/action.yml index 6a26607..4b2bfa9 100644 --- a/extras/github/build-action/action.yml +++ b/extras/github/build-action/action.yml @@ -12,9 +12,10 @@ runs: using: composite steps: - - uses: docker/setup-qemu-action@v3 - with: - platforms: ${{ inputs.architecture }} + # Using QEMU emulation is not needed now that ARM64 runners are available. + # - uses: docker/setup-qemu-action@v3 + # with: + # platforms: ${{ inputs.architecture }} - uses: docker/setup-buildx-action@v3