@@ -10,15 +10,20 @@ jobs:
10
10
build :
11
11
strategy :
12
12
matrix :
13
- os : [ubuntu-latest, windows-latest, macOS-latest ]
13
+ os : [ubuntu-latest, windows-latest, macos-11, macos-14 ]
14
14
type : [Debug, RelWithDebInfo, MinSizeRel, Release]
15
- compiler : [default, clang, gcc]
15
+ compiler : [default, clang, gcc, tcc ]
16
16
exclude :
17
- - {os: "macOS-latest", compiler: "clang"}
18
- - {os: "windows-latest", compiler: "gcc"}
19
- - {os: "macOS-latest", compiler: "gcc"}
17
+ - {os: "macos-11", compiler: "clang"}
18
+ - {os: "macos-11", compiler: "gcc"}
19
+ - {os: "macos-11", compiler: "tcc"}
20
+ - {os: "macos-14", compiler: "clang"}
21
+ - {os: "macos-14", compiler: "gcc"}
22
+ - {os: "macos-14", compiler: "tcc"}
20
23
- {os: "ubuntu-latest", compiler: "default"}
21
24
- {os: "ubuntu-latest", compiler: "default"}
25
+ - {os: "windows-latest", compiler: "gcc"}
26
+ - {os: "windows-latest", compiler: "tcc"}
22
27
runs-on : ${{ matrix.os }}
23
28
24
29
steps :
29
34
30
35
- name : Setup dependencies
31
36
if : startsWith(matrix.os, 'ubuntu')
32
- run : sudo apt-get install -y gcc-10 g++-10 clang-10
37
+ run : sudo apt-get install -y gcc-10 g++-10 clang tcc
33
38
34
39
- name : Configure CMake
35
40
shell : bash
@@ -43,11 +48,17 @@ jobs:
43
48
working-directory : ${{github.workspace}}/build
44
49
run : cmake $GITHUB_WORKSPACE/test -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10
45
50
51
+ - name : Configure CMake with TCC (Ubuntu)
52
+ shell : bash
53
+ if : matrix.compiler == 'tcc' && startsWith(matrix.os, 'ubuntu')
54
+ working-directory : ${{github.workspace}}/build
55
+ run : cmake $GITHUB_WORKSPACE/test -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_C_COMPILER=tcc -DCMAKE_CXX_COMPILER=g++-10
56
+
46
57
- name : Configure CMake with Clang (Ubuntu)
47
58
shell : bash
48
59
if : (matrix.compiler == 'clang') && startsWith(matrix.os, 'ubuntu')
49
60
working-directory : ${{github.workspace}}/build
50
- run : cmake $GITHUB_WORKSPACE/test -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_C_COMPILER=clang-10 -DCMAKE_CXX_COMPILER=clang++-10
61
+ run : cmake $GITHUB_WORKSPACE/test -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
51
62
52
63
- name : Configure CMake with Clang (Windows)
53
64
shell : bash
0 commit comments