From 6192537d08e47c34cbf78d8363d74f8c74b23d69 Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 1 Nov 2024 18:48:47 +0200 Subject: [PATCH] Fix win ci --- .github/workflows/ci.yml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 174e6610..835eaff0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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