From fbf243516520f215e69b456a0a0a223989becbad Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Mon, 2 Feb 2026 12:29:31 -0600 Subject: [PATCH] build arm/amd in parallel natively --- .github/workflows/ci.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c921950..c88f1e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -144,11 +144,11 @@ jobs: echo "version=$VERSION" >> $GITHUB_OUTPUT echo "short_sha=$SHORT_SHA" >> $GITHUB_OUTPUT - # Build architecture-specific images in parallel + # Build architecture-specific images in parallel (native runners) build-release: - name: Build (${{ matrix.platform }}) + name: Build (${{ matrix.arch }}) needs: [test, version] - runs-on: ubuntu-latest + runs-on: ${{ matrix.runner }} if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') permissions: contents: read @@ -158,16 +158,14 @@ jobs: include: - platform: linux/amd64 arch: amd64 + runner: ubuntu-latest - platform: linux/arm64 arch: arm64 + runner: ubuntu-24.04-arm64 steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - if: matrix.arch == 'arm64' - - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3