nameof_module/.appveyor.yml

35 lines
590 B
YAML
Raw Normal View History

2018-04-08 17:27:41 +00:00
version: "{branch} #{build}"
2018-04-30 03:00:05 +00:00
image:
- Visual Studio 2017
2018-04-08 17:27:41 +00:00
platform:
2018-08-07 19:56:14 +00:00
- Win32
2018-04-08 17:27:41 +00:00
- x64
configuration:
- Debug
2018-05-25 14:07:50 +00:00
- Release
2018-04-08 17:27:41 +00:00
shallow_clone: true
matrix:
2018-05-01 11:40:18 +00:00
fast_finish: false
2018-04-08 17:27:41 +00:00
environment:
matrix:
2018-04-30 03:00:05 +00:00
- GENERATOR: "Visual Studio 15 2017"
- GENERATOR: "Visual Studio 14 2015"
2018-04-08 17:27:41 +00:00
before_build:
- if exist build RMDIR /S /Q build
- if not exist build mkdir build
- cd build
2018-08-07 19:56:14 +00:00
- cmake .. -G "%GENERATOR%" -A %PLATFORM% -DCMAKE_BUILD_TYPE=${CONFIGURATION}
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%