1
0
mirror of https://github.com/nlohmann/json synced 2024-11-27 14:20:07 +00:00

Add VS17 image to appveyor matrix

This commit is contained in:
Vladimir Petrigo 2017-03-25 14:57:58 +03:00
parent 3d597dda5d
commit 8edb0cd15c

View File

@ -1,10 +1,12 @@
version: '{build}'
os: Visual Studio 2015
os:
- Visual Studio 2015
- Visual Studio 2017
init: []
install: []
build_script:
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
- cmake . -G "Visual Studio 14 2015"
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" ( SET GEN="Visual Studio 14 2015") ELSE (SET GEN="Visual Studio 15 2017")
- cmake . -G%GEN%
- cmake --build . --config Release
test_script:
- ctest -C Release -V