Skip to content

Commit

Permalink
Test clang versions
Browse files Browse the repository at this point in the history
  • Loading branch information
KrystalDelusion authored Jan 19, 2025
1 parent 76d85fe commit 687853d
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions .github/workflows/test-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,16 @@ jobs:
- ubuntu-latest
compiler:
# oldest supported
- 'clang-10'
- 'clang-11'
- 'clang-12'
- 'clang-13'
- 'clang-14'
- 'gcc-10'
# newest, make sure to update maximum standard step to match
- 'clang-15'
- 'clang-16'
- 'clang-17'
- 'clang-18'
- 'gcc-13'
- 'clang-19'
include:
# macOS
- os: macos-13
Expand Down Expand Up @@ -62,18 +67,3 @@ jobs:
run: |
$CC --version
$CXX --version
# minimum standard
- name: Build C++17
shell: bash
run: |
make config-$CC_SHORT
make -j$procs CXXSTD=c++17 compile-only
# maximum standard, only on newest compilers
- name: Build C++20
if: ${{ matrix.compiler == 'clang-18' || matrix.compiler == 'gcc-13' }}
shell: bash
run: |
make config-$CC_SHORT
make -j$procs CXXSTD=c++20 compile-only

0 comments on commit 687853d

Please sign in to comment.