diff --git a/.github/workflows/test-compile.yml b/.github/workflows/test-compile.yml index a896ccf87..fe6a43634 100644 --- a/.github/workflows/test-compile.yml +++ b/.github/workflows/test-compile.yml @@ -44,8 +44,8 @@ jobs: - ubuntu-latest compiler: # oldest supported - - 'clang-10' - - 'gcc-10' + - 'clang-14' + - 'gcc-11' # newest, make sure to update maximum standard step to match - 'clang-19' - 'gcc-14' @@ -74,7 +74,7 @@ jobs: uses: aminya/setup-cpp@v1 with: compiler: ${{ matrix.compiler }} - gcc: ${{ (matrix.os == 'ubuntu-latest' && matrix.compiler == 'clang-10') && '10' || '' }} + gcc: ${{ (matrix.os == 'ubuntu-latest' && matrix.compiler == 'clang-14') && '12' || '' }} - name: Tool versions shell: bash @@ -82,10 +82,10 @@ jobs: $CC --version $CXX --version - - name: Fix clang-10 toolchain - if: matrix.os == 'ubuntu-latest' && matrix.compiler == 'clang-10' + - name: Fix clang-14 toolchain + if: matrix.os == 'ubuntu-latest' && matrix.compiler == 'clang-14' run: | - echo "CXXFLAGS=--gcc-toolchain=/usr" >> $GITHUB_ENV + echo 'CXXFLAGS=--gcc-toolchain=/usr -isystem /usr/include/c++/12 -isystem /usr/include/x86_64-linux-gnu/c++/12' >> $GITHUB_ENV # minimum standard - name: Build C++20