Skip to content

Commit

Permalink
Enabled ARM64 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosabalde committed Jan 28, 2025
1 parent 28a18aa commit 8828cb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down
7 changes: 4 additions & 3 deletions extras/github/build-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8828cb4

Please sign in to comment.