Fix win ci

This commit is contained in:
gabime 2024-11-01 18:33:57 +02:00
parent ecc3881122
commit d939255f0e

View File

@ -90,8 +90,6 @@ jobs:
strategy: strategy:
matrix: matrix:
msvc_version: msvc_version:
- { name: "Visual Studio 15 2017", generator: "Visual Studio 15 2017" }
- { name: "Visual Studio 16 2019", generator: "Visual Studio 16 2019" }
- { name: "Visual Studio 17 2022", generator: "Visual Studio 17 2022" } - { name: "Visual Studio 17 2022", generator: "Visual Studio 17 2022" }
name: "Windows ${{ matrix.msvc_version.name }} (C++11, Release)" name: "Windows ${{ matrix.msvc_version.name }} (C++11, Release)"
@ -108,7 +106,7 @@ jobs:
- name: Configure CMake - name: Configure CMake
run: | run: |
cmake -S . -B build -G "${{ matrix.msvc_version.generator }}" -A x64 cmake -S . -B build -G "${{ matrix.msvc_version.generator }}" -A x64\
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release
-DCMAKE_CXX_STANDARD=11 -DCMAKE_CXX_STANDARD=11
-DSPDLOG_BUILD_EXAMPLE=ON -DSPDLOG_BUILD_EXAMPLE=ON