From ff9ae14d5ec6464967a9446c0634847aefaaead4 Mon Sep 17 00:00:00 2001 From: Robin Linden Date: Thu, 17 Jul 2025 23:16:08 +0200 Subject: [PATCH] Test the oldest supported CMake version in CI --- .github/workflows/ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 93bea0a..e52221a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -88,6 +88,17 @@ jobs: - run: (cd build && ctest -C Debug ) if: startsWith(matrix.os, 'windows') + oldest-supported-cmake: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v3 + with: + submodules: true + # Installing 3.11.4.post1 through 3.13.3 fail for various reasons, so 3.14 + # is the oldest version we can reasonably test. + - run: pipx install cmake==3.14.4.post1 && cmake --version + - run: cmake -Wdev -Werror=dev -S . -B build + concurrency: group: ${{ github.head_ref || github.run_id }} cancel-in-progress: true