test-compile: Use clang-18 and gcc-14

The 'newest' compilers are actually not all that new, they're just the default for the image.  Instead provide explicit versions.
This commit is contained in:
KrystalDelusion 2024-11-26 09:59:52 +13:00 committed by GitHub
parent 29e8812bab
commit 6ff5823d6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -33,8 +33,8 @@ jobs:
- 'clang-14'
- 'gcc-10'
# newest
- 'clang'
- 'gcc'
- 'clang-18'
- 'gcc-14'
include:
# macOS
- os: macos-13
@ -72,7 +72,7 @@ jobs:
# maximum standard, only on newest compilers
- name: Build C++20
if: ${{ matrix.compiler == 'clang' || matrix.compiler == 'gcc'}}
if: ${{ matrix.compiler == 'clang-18' || matrix.compiler == 'gcc-14' }}
shell: bash
run: |
make config-$CC_SHORT