Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza committed Oct 7, 2024
1 parent 9d23f1b commit e5410f6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,24 @@ jobs:
include:
- name: Docker linux/amd64
DOCKER_PLATFORM: linux/amd64
RUNNER_TYPE: ubuntu-latest
- name: Docker linux/arm64/v8
DOCKER_PLATFORM: linux/arm64/v8
# Replace this with a native arm linux runner when available, presumably by EOY 2024, see:
# https://github.com/orgs/community/discussions/19197#discussioncomment-10550689
# The conditional setup of QEMU may need to be adapted to not run on native arm,
# which will speed up the build process for arm64/v8 since no emulation will be needed.
RUNNER_TYPE: ubuntu-latest
fail-fast: false
name: ${{ matrix.name }}
timeout-minutes: 45
runs-on: ubuntu-latest
runs-on: ${{ matrix.RUNNER_TYPE }}
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
# Only set up QEMU if not running on native arm
if: ${{ matrix.DOCKER_PLATFORM != 'linux/amd64' && matrix.RUNNER_TYPE == 'ubuntu-latest' }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
Expand Down

0 comments on commit e5410f6

Please sign in to comment.