Skip to content

Commit dc0a111

Browse files
authored
test: enable arm runners in ci job
This enables running of the container build and test workflow on ARM64 hardware.
1 parent cb872e7 commit dc0a111

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ permissions:
1515

1616
jobs:
1717
build-test:
18-
runs-on: ubuntu-latest
1918
strategy:
2019
matrix:
2120
flavor: ["cpp", "rust"]
21+
runner: ["ubuntu-latest", "ubuntu-24.04-arm"]
22+
runs-on: ${{ matrix.runner }}
2223
steps:
2324
# While the docker/build-push-action works from the Git context, we still need
2425
# the checkout step for running our tests.
@@ -30,8 +31,8 @@ jobs:
3031
with:
3132
file: .devcontainer/${{ matrix.flavor }}/Dockerfile
3233
load: true
33-
tags: ${{ github.repository }}-${{ matrix.flavor }}:test
34-
cache-from: type=gha,scope=${{ github.repository }}-${{ matrix.flavor }}
34+
tags: ${{ github.repository }}-${{ matrix.flavor }}-${{ matrix.runner }}:test
35+
cache-from: type=gha,scope=${{ github.repository }}-${{ matrix.flavor }}-${{ matrix.runner }}
3536
- uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
3637
if: matrix.flavor == 'cpp'
3738
with:
@@ -46,7 +47,7 @@ jobs:
4647
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4748
if: always()
4849
with:
49-
name: test-results-${{ matrix.flavor }}
50+
name: test-results-${{ matrix.flavor }}-${{ matrix.runner }}
5051
path: test-report-*.xml
5152
publish-test:
5253
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)