Repository navigation
CI: test both gcc/clang and prevent double-runs #26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Ubuntu 24.04 CI (GCC 14 & Clang 18) | |
| on: [push, pull_request] | |
| jobs: | |
| ubuntu-build: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| include: | |
| - {cc: gcc-14, cxx: g++-14} | |
| - {cc: clang-18, cxx: clang++-18} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Build with ${{matrix.cxx}} | |
| run: | | |
| cmake -B build -DCMAKE_C_COMPILER=${{matrix.cc}} -DCMAKE_CXX_COMPILER=${{matrix.cxx}} | |
| cmake --build build |