CI: windows-2016 has been deprecated; remove jobs · nlohmann/json@1d33c5e
@@ -29,41 +29,6 @@ jobs:
2929 - name: test
3030run: cd build ; ctest -j 10 -C Debug --output-on-failure
313132-msvc2017:
33-runs-on: windows-2016
34-strategy:
35-matrix:
36-build_type: [Debug, Release]
37-architecture: [Win32, x64]
38-39-steps:
40- - uses: actions/checkout@v2
41- - name: cmake
42-run: cmake -S . -B build -G "Visual Studio 15 2017" -A ${{ matrix.architecture }} -DJSON_BuildTests=On -DCMAKE_CXX_FLAGS="/W4 /WX"
43-if: matrix.build_type == 'Release' && matrix.architecture == 'x64'
44- - name: cmake
45-run: cmake -S . -B build -G "Visual Studio 15 2017" -A ${{ matrix.architecture }} -DJSON_BuildTests=On -DCMAKE_CXX_FLAGS="/W4 /WX"
46-if: matrix.build_type == 'Release' && matrix.architecture != 'x64'
47- - name: cmake
48-run: cmake -S . -B build -G "Visual Studio 15 2017" -A ${{ matrix.architecture }} -DJSON_BuildTests=On -DJSON_FastTests=ON -DCMAKE_CXX_FLAGS="/W4 /WX"
49-if: matrix.build_type == 'Debug'
50- - name: build
51-run: cmake --build build --config ${{ matrix.build_type }} --parallel 10
52- - name: test
53-run: cd build ; ctest -j 10 -C ${{ matrix.build_type }} --output-on-failure
54-55-msvc2017_latest:
56-runs-on: windows-2016
57-58-steps:
59- - uses: actions/checkout@v2
60- - name: cmake
61-run: cmake -S . -B build -G "Visual Studio 15 2017" -DJSON_BuildTests=On -DCMAKE_CXX_FLAGS="/permissive- /std:c++latest /utf-8 /W4 /WX"
62- - name: build
63-run: cmake --build build --config Release --parallel 10
64- - name: test
65-run: cd build ; ctest -j 10 -C Release --output-on-failure
66-6732msvc2019:
6833runs-on: windows-2019
6934strategy: