From 63063b0f9dca27c56fce3dc44166515c8e247811 Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Wed, 6 Sep 2023 11:57:50 +0200 Subject: [PATCH] ci: investigate msvc compilation error --- .github/workflows/amd64_windows_cmake_cpp.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/amd64_windows_cmake_cpp.yml b/.github/workflows/amd64_windows_cmake_cpp.yml index 516ee8443be..91a8ef1694e 100644 --- a/.github/workflows/amd64_windows_cmake_cpp.yml +++ b/.github/workflows/amd64_windows_cmake_cpp.yml @@ -12,6 +12,11 @@ jobs: windows-2022, #windows-2019, ] + build: [ + ["Visual Studio 17 2022", "v143,version=14.37"], + ["Visual Studio 17 2022", "v143,version=14.36"], + ["Visual Studio 17 2022", "v143,version=14.35"], + ] fail-fast: false # Don't cancel all jobs if one fails. runs-on: ${{ matrix.runner }} #runs-on: windows-latest @@ -22,7 +27,11 @@ jobs: cmake --version cmake -G || true - name: Configure - run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_DEPS=ON + run: > + cmake -S. -Bbuild + -G ${{ matrix.build[0] }} -T ${{ matrix.build[1] }} + -DCMAKE_BUILD_TYPE=Release + -DBUILD_DEPS=ON - name: Build run: cmake --build build --config Release --target ALL_BUILD -v -- /verbosity:d - name: Test