nameof_module/.appveyor.yml

40 lines
798 B
YAML
Raw Normal View History

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:
fast_finish: false
environment:
matrix:
- TOOLCHAIN: msvc14
- TOOLCHAIN: msvc15
init:
- ps: 'Write-Host "Building branch: $env:APPVEYOR_REPO_BRANCH" -ForegroundColor Magenta'
before_build:
- ps: 'Write-Host "Running CMake:" -ForegroundColor Magenta'
- if exist build RMDIR /S /Q build
- if not exist build mkdir build
- cd build
- cmake.exe .. %CMAKE_CONFIGURE_FLAGS%
build_script:
- ps: 'Write-Host "Running build:" -ForegroundColor Magenta'
- cmake --build . --config %CONFIGURATION%
test_script:
- ps: 'Write-Host "Running tests:" -ForegroundColor Magenta'
2018-04-14 19:52:48 +00:00
- ctest -V --output-on-failure -C %CONFIGURATION%