Fixup CMakeLists.txt #108
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
# ref: https://github.com/actions/runner-images | ||
name: amd64 Windows | ||
on: [push, pull_request, workflow_dispatch] | ||
jobs: | ||
# Building using the github runner environement directly. | ||
visual-studio: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Check cmake | ||
run: cmake --version | ||
- name: Configure | ||
run: cmake -S. -Bbuild -G "Visual Studio 17 2022" -DCMAKE_CONFIGURATION_TYPES=Release -DCMAKE_INSTALL_PREFIX=install | ||
- name: Build | ||
run: cmake --build build --config Release --target ALL_BUILD -v | ||
- name: Test | ||
run: | | ||
cmake --build build --config Release --target RUN_TESTS -v | ||
cd build && ctest -V | ||
- name: Install | ||
run: cmake --build build --config Release --target INSTALL -v |