Skip to content

[Code refactoring] - Use ExchangeNameEnum instead of string_view in E… #1891

[Code refactoring] - Use ExchangeNameEnum instead of string_view in E…

[Code refactoring] - Use ExchangeNameEnum instead of string_view in E… #1891

Workflow file for this run

name: Windows
on:
push:
branches:
- main
pull_request:
jobs:
windows:
name: Build on Windows
runs-on: windows-latest
strategy:
matrix:
buildmode: [Debug]
generator: [Visual Studio 17 2022]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure CMake with vcpkg
run: cmake -S . -B build -G "${{matrix.generator}}"
env:
CMAKE_BUILD_TYPE: ${{matrix.buildmode}}
CMAKE_TOOLCHAIN_FILE: "C:/vcpkg/scripts/buildsystems/vcpkg.cmake"
- name: Build
run: cmake --build build --config ${{matrix.buildmode}} --parallel 4
- name: Tests
working-directory: ${{github.workspace}}/build
run: ctest -j 2 -C ${{matrix.buildmode}} --output-on-failure --repeat until-pass:5
- name: Sanity check main executable
working-directory: ${{github.workspace}}/build/${{matrix.buildmode}}
run: .\coincenter.exe --help