@@ -10,15 +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: "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"}
2023 - {os: "ubuntu-latest", compiler: "default"}
2124 - {os: "ubuntu-latest", compiler: "default"}
25+ - {os: "windows-latest", compiler: "gcc"}
26+ - {os: "windows-latest", compiler: "tcc"}
2227 runs-on : ${{ matrix.os }}
2328
2429 steps :
2934
3035 - name : Setup dependencies
3136 if : startsWith(matrix.os, 'ubuntu')
32- run : sudo apt-get install -y gcc-10 g++-10 clang
37+ run : sudo apt-get install -y gcc-10 g++-10 clang tcc
3338
3439 - name : Configure CMake
3540 shell : bash
4348 working-directory : ${{github.workspace}}/build
4449 run : cmake $GITHUB_WORKSPACE/test -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10
4550
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+
4657 - name : Configure CMake with Clang (Ubuntu)
4758 shell : bash
4859 if : (matrix.compiler == 'clang') && startsWith(matrix.os, 'ubuntu')
0 commit comments