26 lines
445 B
YAML
26 lines
445 B
YAML
version: "{branch} #{build}"
|
|
|
|
image:
|
|
- Visual Studio 2017
|
|
- Visual Studio 2019
|
|
|
|
platform:
|
|
- Win32
|
|
- x64
|
|
|
|
build:
|
|
parallel: true
|
|
|
|
before_build:
|
|
- if exist build RMDIR /S /Q build
|
|
- if not exist build mkdir build
|
|
- cd build
|
|
|
|
build_script:
|
|
- cmake -A %PLATFORM% ..
|
|
- cmake --build . --config Debug
|
|
- cmake --build . --config Release
|
|
|
|
test_script:
|
|
- ctest --output-on-failure -C Debug
|
|
- ctest --output-on-failure -C Release
|