remote unneeded workarounds #101
This file contains 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: cmake | |
on: | |
push: | |
paths: | |
- "**.cpp" | |
- "**.ixx" | |
- "**.cmake" | |
- "**/CMakeLists.txt" | |
- ".github/workflows/cmake.yml" | |
env: | |
CTEST_NO_TESTS_ACTION: error | |
CTEST_PARALLEL_LEVEL: 0 | |
CMAKE_BUILD_PARALLEL_LEVEL: 4 | |
HOMEBREW_NO_AUTO_UPDATE: 1 | |
jobs: | |
gcc-new: | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 5 | |
strategy: | |
matrix: | |
cxx: [g++-12, g++-13, g++-14, clang++-18] | |
env: | |
CXX: ${{ matrix.cxx }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Ninja | |
run: sudo apt-get install ninja-build | |
- run: cmake --workflow --preset debug | |
- run: cmake --workflow --preset release | |
gcc-old: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 5 | |
strategy: | |
matrix: | |
cxx: [g++-9, g++-10, g++-11] | |
env: | |
CXX: ${{ matrix.cxx }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Ninja | |
run: sudo apt-get install ninja-build | |
- run: cmake --workflow --preset debug | |
- run: cmake --workflow --preset release | |
mac: | |
runs-on: macos-latest | |
timeout-minutes: 5 | |
env: | |
HOMEBREW_NO_AUTO_CLEANUP: 1 | |
CXX: ${{ matrix.cxx }} | |
strategy: | |
matrix: | |
cxx: [clang++] | |
# g++-13 GHA runner generally broken for now | |
steps: | |
- name: Install Ninja | |
run: brew install ninja | |
- uses: actions/checkout@v4 | |
- run: cmake --workflow --preset debug | |
- run: cmake --workflow --preset release | |
windows-msvc: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: cmake --workflow --preset msvc |