Skip to content

Fixing issue 501

Fixing issue 501 #540

Workflow file for this run

name: VS17-CI
on: [push, pull_request]
permissions:
contents: read
jobs:
ci:
name: windows-vs17
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include:
- {gen: Visual Studio 17 2022, arch: Win32}
- {gen: Visual Studio 17 2022, arch: x64}
steps:
- name: checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- name: Configure
run: |
mkdir build
cd build && cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} ..
- name: Build
run: cmake --build build --config Release
- name: Run basic tests
run: |
cd build
ctest -C Release --output-on-failure
- name: Build Debug
run: cmake --build build --config Debug
- name: Run basic tests in Debug
run: |
cd build
ctest -C Debug --output-on-failure