@@ -10,14 +10,20 @@ jobs:
1010 build :
1111 strategy :
1212 matrix :
13- os : [ubuntu-latest, windows-latest, macOS-latest ]
13+ os : [ubuntu-latest, windows-latest, macos-11, macos-14 ]
1414 type : [Debug, RelWithDebInfo, MinSizeRel, Release]
15- compiler : [default, clang, gcc]
15+ compiler : [default, clang, gcc, tcc ]
1616 exclude :
17- - {os: "macOS-latest", compiler: "clang"}
18- - {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"}
1923 - {os: "ubuntu-latest", compiler: "default"}
2024 - {os: "ubuntu-latest", compiler: "default"}
25+ - {os: "windows-latest", compiler: "gcc"}
26+ - {os: "windows-latest", compiler: "tcc"}
2127 runs-on : ${{ matrix.os }}
2228
2329 steps :
2834
2935 - name : Setup dependencies (Ubuntu)
3036 if : startsWith(matrix.os, 'ubuntu')
31- run : sudo apt-get install -y gcc-10 g++-10 clang
37+ run : sudo apt-get install -y gcc-10 g++-10 clang tcc
3238
3339 - name : Setup dependencies (MinGW)
3440 if : matrix.compiler == 'gcc' && startsWith(matrix.os, 'windows')
4652 working-directory : ${{github.workspace}}/build
4753 run : cmake $GITHUB_WORKSPACE/test -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10
4854
55+ - name : Configure CMake with TCC (Ubuntu)
56+ shell : bash
57+ if : matrix.compiler == 'tcc' && startsWith(matrix.os, 'ubuntu')
58+ working-directory : ${{github.workspace}}/build
59+ run : cmake $GITHUB_WORKSPACE/test -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_C_COMPILER=tcc -DCMAKE_CXX_COMPILER=g++-10
60+
4961 - name : Configure CMake with MinGW
5062 shell : bash
5163 if : matrix.compiler == 'gcc' && startsWith(matrix.os, 'windows')
0 commit comments