Skip to content

Commit 7827c42

Browse files
committed
add CI on aarch64
1 parent 03862e0 commit 7827c42

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ on:
88

99
jobs:
1010
ci:
11-
runs-on: ubuntu-24.04
11+
strategy:
12+
matrix:
13+
os: [ubuntu-24.04, ubuntu-24.04-arm]
14+
runs-on: ${{ matrix.os }}
1215
steps:
1316
- uses: actions/checkout@v4
1417
with:
@@ -17,7 +20,7 @@ jobs:
1720
with:
1821
url_format: 'https://github.com/wx257osn2/qoi-benchmark/releases/download/{}'
1922
version: image-v20250302
20-
- uses: actions/cache@v4
23+
- uses: actions/cache/restore@v4
2124
id: cached
2225
with:
2326
path: images
@@ -26,6 +29,11 @@ jobs:
2629
if: steps.cached.outputs.cache-hit != 'true'
2730
shell: bash
2831
run: curl https://qoiformat.org/benchmark/qoi_benchmark_suite.tar | tar x
32+
- uses: actions/cache/save@v4
33+
if: steps.cached.outputs.cache-hit != 'true' && matrix.os == 'ubuntu-24.04'
34+
with:
35+
path: images
36+
key: ${{ steps.cached.outputs.cache-primary-key }}
2937
- name: build
3038
shell: bash
3139
run: cxx-env-run make -j

0 commit comments

Comments
 (0)