Use CMake to detect if std format is available #790
Workflow file for this run
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: msvc | |
on: | |
push: | |
branches: | |
- 'main' | |
workflow_dispatch: | |
pull_request: | |
env: | |
BUILD_TYPE: Debug | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- run: cmake -E make_directory build | |
- working-directory: build/ | |
run: cmake .. -G "Visual Studio 17 2022" | |
- working-directory: build/ | |
run: cmake --build . | |
- working-directory: build/ | |
run: ctest -C Debug --output-on-failure |