update ci
This commit is contained in:
parent
e3ed14df33
commit
32bfcbd398
2 changed files with 7 additions and 7 deletions
|
@ -13,27 +13,21 @@ configuration:
|
|||
shallow_clone: true
|
||||
|
||||
matrix:
|
||||
fast_finish: false
|
||||
fast_finish: true
|
||||
|
||||
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'
|
||||
- ctest -V --output-on-failure -C %CONFIGURATION%
|
||||
|
|
|
@ -4,6 +4,12 @@ sudo: required
|
|||
|
||||
language: cpp
|
||||
|
||||
git:
|
||||
depth: 1
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
|
Loading…
Reference in a new issue