File tree 1 file changed +40
-0
lines changed
1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : M1 Mac
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ ci-mac :
11
+ runs-on : macos-14
12
+ steps :
13
+ - name : install clang
14
+ shell : bash
15
+ run : sudo brew install llvm@17 -y
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ with :
19
+ submodules : recursive
20
+ - uses : actions/cache@v4
21
+ with :
22
+ path : images
23
+ key : key
24
+ - id : cached
25
+ uses : andstor/file-existence-action@v3
26
+ with :
27
+ files : images
28
+ - name : get benchmark suite
29
+ if : steps.cached.outputs.files_exists == 'false'
30
+ shell : bash
31
+ run : curl https://qoiformat.org/benchmark/qoi_benchmark_suite.tar | tar x
32
+ - name : build
33
+ shell : bash
34
+ run : CXX=$(brew --prefix llvm@17)/bin/clang++ make -j
35
+ - name : run
36
+ shell : bash
37
+ run : bin/qoibench 1 images --noreference --nowarmup
38
+ - name : test
39
+ shell : bash
40
+ run : bin/test
You can’t perform that action at this time.
0 commit comments