[pre-commit.ci] pre-commit autoupdate #251
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: Linux | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- {cmake-version: 3.16.x, name: '3.16'} | |
- {cmake-version: 3.17.x, name: '3.17'} | |
- {cmake-version: 3.18.x, name: '3.18'} | |
- {cmake-version: 3.19.x, name: '3.19'} | |
- {cmake-version: 3.20.x, name: '3.20'} | |
- {cmake-version: 3.21.x, name: '3.21'} | |
- {cmake-version: 3.22.x, name: '3.22'} | |
name: 🧪 Test CMake ${{ matrix.name }} | |
steps: | |
- name: 🧰 Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: ${{ matrix.icon }} Setup CMake | |
uses: jwlawson/[email protected] | |
with: | |
cmake-version: ${{ matrix.cmake-version }} | |
github-api-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: 🧪 Run tests | |
run: | | |
cmake -DBUILD_TESTS=ON -S . -B build |