Skip to content

test export ter

test export ter #371

name: amd64 Windows CMake C++
on: [push, pull_request]
jobs:
# Building using the github runner environement directly.
cmake:
# ref: https://github.com/actions/runner-images
strategy:
matrix:
runner: [
windows-2022,
#windows-2019,
]
build: [
["Visual Studio 17 2022", "v143,version=14.37"],
["Visual Studio 17 2022", "v143,version=14.36"],
["Visual Studio 17 2022", "v143,version=14.35"],
]
fail-fast: false # Don't cancel all jobs if one fails.
runs-on: ${{ matrix.runner }}
#runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Check cmake
run: |
cmake --version
cmake -G || true
- name: Configure
run: >
cmake -S. -Bbuild
-G "${{ matrix.build[0] }}" -T ${{ matrix.build[1] }}
-DCMAKE_BUILD_TYPE=Release
-DBUILD_DEPS=ON
- name: Build
run: cmake --build build --config Release --target ALL_BUILD -v -- /verbosity:d
- name: Test
run: |
cmake --build build --config Release --target RUN_TESTS -v -- /verbosity:d
cd build && ctest -C Release --rerun-failed --output-on-failure -V
- name: Install
run: cmake --build build --config Release --target INSTALL -v -- /verbosity:d