2018-04-08 17:27:41 +00:00
|
|
|
version: "{branch} #{build}"
|
|
|
|
|
|
|
|
image: Visual Studio 2017
|
|
|
|
|
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
- x32
|
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Release
|
|
|
|
- Debug
|
|
|
|
|
|
|
|
shallow_clone: true
|
|
|
|
|
|
|
|
matrix:
|
2018-04-27 19:50:44 +00:00
|
|
|
fast_finish: true
|
2018-04-08 17:27:41 +00:00
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- TOOLCHAIN: msvc14
|
|
|
|
- TOOLCHAIN: msvc15
|
|
|
|
|
|
|
|
before_build:
|
|
|
|
- if exist build RMDIR /S /Q build
|
|
|
|
- if not exist build mkdir build
|
|
|
|
- cd build
|
2018-04-29 12:34:02 +00:00
|
|
|
- cmake .. %CMAKE_CONFIGURE_FLAGS%
|
2018-04-08 17:27:41 +00:00
|
|
|
|
|
|
|
build_script:
|
|
|
|
- cmake --build . --config %CONFIGURATION%
|
|
|
|
|
|
|
|
test_script:
|
2018-04-14 19:52:48 +00:00
|
|
|
- ctest -V --output-on-failure -C %CONFIGURATION%
|