Skip to content

Commit

Permalink
ci: test multiple cmake versions (3.10, 3.13, 3.15, 3.17)
Browse files Browse the repository at this point in the history
NOTE: does not test cmake < 3.15 on windows as it would fail
  • Loading branch information
strk committed May 15, 2020
1 parent 66cadb5 commit 545823c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
cmake-version: ${{ matrix.cmake }}
github-api-token: ${{ secrets.GITHUB_TOKEN }}
- name: dependencies
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
Expand Down

0 comments on commit 545823c

Please sign in to comment.