Skip to content

[pre-commit.ci] pre-commit autoupdate #254

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #254

Workflow file for this run

---
name: Windows
on:
push:
branches:
- main
pull_request:
jobs:
tests:
runs-on: windows-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