Skip to content

Commit

Permalink
Merge pull request #536 from vpetrigo/feature/VS17_appveyor_support
Browse files Browse the repository at this point in the history
Add Visual Studio 17 image to appveyor build matrix
  • Loading branch information
nlohmann authored Mar 25, 2017
2 parents 3d597dd + 8edb0cd commit 0f95856
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0f95856

Please sign in to comment.