Merge pull request #536 from vpetrigo/feature/VS17_appveyor_support
Add Visual Studio 17 image to appveyor build matrix
This commit is contained in:
commit
0f9585685a
1 changed files with 5 additions and 3 deletions
|
@ -1,10 +1,12 @@
|
||||||
version: '{build}'
|
version: '{build}'
|
||||||
os: Visual Studio 2015
|
os:
|
||||||
|
- Visual Studio 2015
|
||||||
|
- Visual Studio 2017
|
||||||
init: []
|
init: []
|
||||||
install: []
|
install: []
|
||||||
build_script:
|
build_script:
|
||||||
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
|
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" ( SET GEN="Visual Studio 14 2015") ELSE (SET GEN="Visual Studio 15 2017")
|
||||||
- cmake . -G "Visual Studio 14 2015"
|
- cmake . -G%GEN%
|
||||||
- cmake --build . --config Release
|
- cmake --build . --config Release
|
||||||
test_script:
|
test_script:
|
||||||
- ctest -C Release -V
|
- ctest -C Release -V
|
||||||
|
|
Loading…
Reference in a new issue