mirror of
https://github.com/nlohmann/json.git
synced 2026-06-23 20:54:17 +00:00
👷 build ci_module_cpp20 with MSVC
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
@@ -111,3 +111,11 @@ jobs:
|
|||||||
run: cmake --build build --config Debug --parallel 10
|
run: cmake --build build --config Debug --parallel 10
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user