2017-02-20 20:56:10 +00:00
|
|
|
version: '{build}'
|
2017-04-08 19:56:42 +00:00
|
|
|
|
2017-03-25 11:57:58 +00:00
|
|
|
os:
|
2017-04-08 19:56:42 +00:00
|
|
|
- Visual Studio 2015
|
2017-09-14 15:31:14 +00:00
|
|
|
- Visual Studio 2017
|
2017-04-08 19:56:42 +00:00
|
|
|
|
2017-04-09 08:59:45 +00:00
|
|
|
environment:
|
2017-04-09 09:00:39 +00:00
|
|
|
matrix:
|
2018-03-14 16:21:31 +00:00
|
|
|
- additional_flags: ""
|
|
|
|
- additional_flags: "/permissive- /std:c++latest /utf-8"
|
2017-04-09 08:59:45 +00:00
|
|
|
|
2017-04-09 10:00:30 +00:00
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- additional_flags: "/permissive- /std:c++latest /utf-8"
|
|
|
|
os: Visual Studio 2015
|
|
|
|
|
2017-02-20 20:56:10 +00:00
|
|
|
init: []
|
2017-04-08 19:56:42 +00:00
|
|
|
|
2017-02-20 20:56:10 +00:00
|
|
|
install: []
|
2017-04-08 19:56:42 +00:00
|
|
|
|
2017-02-20 20:56:10 +00:00
|
|
|
build_script:
|
2017-04-08 19:56:42 +00:00
|
|
|
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" ( SET GEN="Visual Studio 14 2015") ELSE (SET GEN="Visual Studio 15 2017")
|
2017-04-09 09:47:31 +00:00
|
|
|
- cmake . -G%GEN% -DCMAKE_CXX_FLAGS="%additional_flags%"
|
2017-04-08 19:56:42 +00:00
|
|
|
- cmake --build . --config Release
|
|
|
|
|
2017-02-20 20:56:10 +00:00
|
|
|
test_script:
|
2017-10-05 17:43:39 +00:00
|
|
|
- ctest -C Release -V -j
|