Skip to content

Test different versions of CMake #175

Test different versions of CMake

Test different versions of CMake #175

Workflow file for this run

name: windows
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
generator:
- Visual Studio 16 2019
cmake:
- 3.19.x
- 3.20.x
- 3.21.x
runs-on: windows-2019
env:
GENERATOR: ${{ matrix.generator }}
SHARED: 'OFF'
FLAVOR: 'release,debug'
install_dir: C:\\
steps:
- name: install CMake
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: ${{ matrix.cmake }}
- name: checkout
uses: actions/checkout@v4
with:
submodules: true
- name: install environment
uses: ./.github/actions/install-windows
with:
cache-key-scoop: ${{ secrets.CACHE_SCOOP }}
cache-key-python: ${{ secrets.CACHE_PYTHON }}
- name: install pytest
run: poetry install
- name: export cupcake
uses: ./.github/actions/export-cupcake
- name: test
run: poetry run pytest tests/ --builder make