Fixing issue 501 #914
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: VS16-CI | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
ci: | |
name: windows-vs16 | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- {gen: Visual Studio 16 2019, arch: Win32} | |
- {gen: Visual Studio 16 2019, 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 |