👷 experimenting with configurations
This commit is contained in:
parent
90273e930c
commit
d4e49873b7
1 changed files with 15 additions and 6 deletions
|
@ -1,12 +1,21 @@
|
||||||
version: '{build}'
|
version: '{build}'
|
||||||
|
|
||||||
|
configuration:
|
||||||
|
- Debug
|
||||||
|
- Release
|
||||||
|
|
||||||
os:
|
os:
|
||||||
- Visual Studio 2015
|
- Visual Studio 2015
|
||||||
- Visual Studio 2017
|
- Visual Studio 2017
|
||||||
|
|
||||||
init: []
|
init: []
|
||||||
|
|
||||||
install: []
|
install: []
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" ( SET GEN="Visual Studio 14 2015") ELSE (SET GEN="Visual Studio 15 2017")
|
- 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 . -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