2019-07-30 18:45:36 +00:00
|
|
|
version: "{branch} #{build}"
|
|
|
|
|
2019-08-24 15:31:42 +00:00
|
|
|
image:
|
|
|
|
- Visual Studio 2017
|
2019-10-01 13:43:46 +00:00
|
|
|
- Visual Studio 2019
|
2019-08-24 15:31:42 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
- Win32
|
|
|
|
- x64
|
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Debug
|
|
|
|
- Release
|
|
|
|
|
|
|
|
build:
|
|
|
|
parallel: true
|
2019-07-27 16:58:55 +00:00
|
|
|
|
2019-08-24 15:31:42 +00:00
|
|
|
before_build:
|
|
|
|
- if exist build RMDIR /S /Q build
|
|
|
|
- if not exist build mkdir build
|
|
|
|
- cd build
|
2019-10-01 13:43:46 +00:00
|
|
|
- cmake -A %PLATFORM% ..
|
2019-08-24 15:31:42 +00:00
|
|
|
|
|
|
|
build_script:
|
|
|
|
- cmake --build . --config %CONFIGURATION%
|
2019-07-27 16:58:55 +00:00
|
|
|
|
|
|
|
test_script:
|
2019-08-24 15:31:42 +00:00
|
|
|
- ctest --output-on-failure -C %CONFIGURATION%
|