Bump versions to safe floor
This commit is contained in:
12
.github/workflows/test-compile.yml
vendored
12
.github/workflows/test-compile.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user