File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
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 }}
12
15
steps :
13
16
- uses : actions/checkout@v4
14
17
with :
17
20
with :
18
21
url_format : ' https://github.com/wx257osn2/qoi-benchmark/releases/download/{}'
19
22
version : image-v20250302
20
- - uses : actions/cache@v4
23
+ - uses : actions/cache/restore @v4
21
24
id : cached
22
25
with :
23
26
path : images
26
29
if : steps.cached.outputs.cache-hit != 'true'
27
30
shell : bash
28
31
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 }}
29
37
- name : build
30
38
shell : bash
31
39
run : cxx-env-run make -j
You can’t perform that action at this time.
0 commit comments