From 27e454dc2152c5fac76f36192a2a91f79e736942 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Fri, 15 May 2020 15:44:35 +0200 Subject: [PATCH] ci: test multiple cmake versions (3.10, 3.13, 3.15, 3.17) NOTE: does not test cmake < 3.15 on windows as it would fail --- .github/workflows/cmake.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index b5ded25..ccb9215 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -17,9 +17,18 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - + cmake: [ '3.10.x', '3.13.x', '3.15.x', '3.17.x' ] + exclude: + # excludes cmake '3.10.x' and '3.13.x' on windows + - os: windows-latest + cmake: [ '3.10.x', '3.13.x' ] steps: - uses: actions/checkout@v2 + - name: Setup cmake + uses: jwlawson/actions-setup-cmake@v1.0 + with: + cmake-version: ${{ matrix.cmake }} + github-api-token: ${{ secrets.GITHUB_TOKEN }} - name: dependencies run: | if [ "$RUNNER_OS" == "Linux" ]; then