Merge pull request #345 from qicosmos/sync_ylt_reflection #764
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: Windows Server 2022 | |
on: | |
push: | |
branches: [ master, struct_pb ] | |
pull_request: | |
branches: [ master, struct_pb ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
mode: [Debug, Release] | |
cpp_version: [17, 20] | |
arch: [x64] | |
env: | |
CXX: cl.exe | |
CC: cl.exe | |
steps: | |
- name: check out | |
uses: actions/checkout@v3 | |
- name: generate project | |
run: cmake -B ${{ github.workspace }}\build -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -A${{ matrix.arch }} -DCMAKE_CXX_STANDARD=${{ matrix.cpp_version }} | |
- name: build iguana | |
run: cmake --build ${{ github.workspace }}\build --config ${{ matrix.mode }} | |
- name: test | |
working-directory: ${{github.workspace}}\build | |
run: ctest -C ${{matrix.mode}} -j 1 -V | |