From 1415eb4cb5af32ebdfb9fd8cb0c52f1ca0e5d2c8 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Mon, 28 Apr 2025 22:02:57 +0200 Subject: [PATCH] :construction_worker: build ci_module_cpp20 with MSVC Signed-off-by: Niels Lohmann --- .github/workflows/windows.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 124b089d7..cf0833b10 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -111,3 +111,11 @@ jobs: run: cmake --build build --config Debug --parallel 10 - name: Test run: cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure + + ci_module_cpp20: + runs-on: windows-latest + steps: + - name: Run CMake (Debug) + run: cmake -S . -B build -G "Visual Studio 17 2022" -DJSON_CI=ON -DCMAKE_CXX_FLAGS="/permissive- /std:c++latest /utf-8 /W4 /WX" + - name: Build + run: cmake --build build --config Debug --target ci_module_cpp20