Skip to content

Commit

Permalink
Fix win ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime committed Nov 1, 2024
1 parent 6c72015 commit 6192537
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
make -j2
ctest -j2 --output-on-failure
build_windows_msvc_2022:
build:
runs-on: windows-latest
name: "Windows MSVC 2022 (C++11, Release)"
steps:
Expand All @@ -87,20 +87,17 @@ jobs:
- name: Install CMake
run: choco install cmake --installargs '"ADD_CMAKE_TO_PATH=System"' --no-progress

- name: Verify CMake Version
run: cmake --version

- name: Configure CMake
run: |
cmake -S . -B build -G "Visual Studio 17 2022" -A x64 \
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_CXX_STANDARD=11
-DSPDLOG_BUILD_EXAMPLE=ON
-DSPDLOG_BUILD_EXAMPLE_HO=ON
-DSPDLOG_BUILD_WARNINGS=ON
-DSPDLOG_BUILD_BENCH=OFF
-DSPDLOG_BUILD_TESTS=ON
-DSPDLOG_BUILD_TESTS_HO=OFF
cmake -S . -B build -G "Visual Studio 17 2022" -A x64 `
-DCMAKE_BUILD_TYPE=Release `
-DCMAKE_CXX_STANDARD=11 `
-DSPDLOG_BUILD_EXAMPLE=ON `
-DSPDLOG_BUILD_EXAMPLE_HO=ON `
-DSPDLOG_BUILD_WARNINGS=ON `
-DSPDLOG_BUILD_BENCH=OFF `
-DSPDLOG_BUILD_TESTS=ON `
-DSPDLOG_BUILD_TESTS_HO=OFF `
-DSPDLOG_SANITIZE_ADDRESS=OFF
- name: Build
Expand Down

0 comments on commit 6192537

Please sign in to comment.