From 05426d735eca9ac07b62c97b95a7d21a5d98ee2d 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 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index b5ded25..230bbfb 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -17,9 +17,19 @@ 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: + - os: windows-latest + cmake: '3.10.x' + - os: windows-latest + cmake: '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