File tree 1 file changed +55
-0
lines changed
1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Hana CI
2
+
3
+ permissions :
4
+ contents : read
5
+
6
+ on : pull_request
7
+
8
+ jobs :
9
+ tests :
10
+ runs-on : ${{ matrix.os }}
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ include :
15
+ - os : macos-latest
16
+ xcode-version : latest-stable
17
+ - os : macos-latest
18
+ compiler : llvm
19
+ # - os: macos-latest
20
+ # compiler: gcc
21
+ # - os: windows-latest
22
+ # compiler: llvm
23
+ - os : ubuntu-latest
24
+ compiler : llvm
25
+ # - os: ubuntu-latest
26
+ # compiler: gcc
27
+
28
+ steps :
29
+ - name : Setup build environment
30
+ uses : aminya/setup-cpp@v1
31
+ with :
32
+ vcvarsall : ${{ contains(matrix.os, 'windows') }}
33
+ cmake : true
34
+ ninja : true
35
+
36
+ - name : Setup compiler
37
+ uses : aminya/setup-cpp@v1
38
+ if : ${{ matrix.compiler }}
39
+ with :
40
+ compiler : ${{ matrix.compiler }}
41
+
42
+ - name : Install Xcode
43
+ uses : maxim-lobanov/setup-xcode@v1
44
+ if : ${{ matrix.xcode-version }}
45
+ with :
46
+ xcode-version : ${{ matrix.xcode-version }}
47
+
48
+ - name : Checkout source code
49
+ uses : actions/checkout@v3
50
+
51
+ - name : Configure CMake
52
+ run : mkdir build && cmake -S . -B build -G Ninja
53
+
54
+ - name : Run the tests
55
+ run : cmake --build build --target check
You can’t perform that action at this time.
0 commit comments