Fix win ci
Some checks failed
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }}) (map[asan:OFF build_type:Debug compiler:clang cppstd:17 version:12]) (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }}) (map[asan:OFF build_type:Release compiler:clang cppstd:20 version:15]) (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }}) (map[build_type:Debug compiler:gcc cppstd:20 version:11]) (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }}) (map[build_type:Release compiler:gcc cppstd:11 version:7]) (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }}) (map[build_type:Release compiler:gcc cppstd:17 version:9]) (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }}) (map[build_type:Release compiler:gcc cppstd:20 version:12]) (push) Has been cancelled
ci / OS X Clang (C++11, Release) (push) Has been cancelled
ci / Windows MSVC 2022 (C++11, Release) (push) Has been cancelled

This commit is contained in:
gabime 2024-11-01 18:48:47 +02:00
parent 6c7201553d
commit 6192537d08

View File

@ -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