Skip to content

Add cmake install steps (#41) #174

Add cmake install steps (#41)

Add cmake install steps (#41) #174

Workflow file for this run

name: VS17-CI
on: [push, pull_request]
jobs:
ci:
name: vs17/${{matrix.arch}}/${{matrix.cfg}}
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include:
- {gen: Visual Studio 17 2022, arch: Win32, cfg: Release}
- {gen: Visual Studio 17 2022, arch: Win32, cfg: Debug}
- {gen: Visual Studio 17 2022, arch: x64, cfg: Release}
- {gen: Visual Studio 17 2022, arch: x64, cfg: Debug}
steps:
- name: checkout
uses: actions/checkout@v3
- name: configure
run: |
cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}}
- name: build
run: |
cmake --build build --verbose --config ${{matrix.cfg}}
- name: test
run: |
cd build &&
ctest --output-on-failure -C ${{matrix.cfg}}