Sync with jtckdint, again #16
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: msvc | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
include: | |
- { msvc: Visual Studio 17 2022, arch: x64, config: Release } | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Add MSBuild to PATH | |
uses: microsoft/[email protected] | |
- name: Configure CMake | |
run: | | |
cmake -B build -G "${{ matrix.msvc }}" -A ${{ matrix.arch }} | |
- name: Build | |
run: cmake --build build --config ${{ matrix.config }} | |
- name: Test | |
working-directory: build | |
run: ctest -C ${{ matrix.config }} --output-on-failure |