CI runs now in debug mode (close #263)

This commit is contained in:
Michele Caini
2019-06-16 17:12:41 +02:00
parent 038448865b
commit b6911da8f0
2 changed files with 5 additions and 4 deletions

View File

@@ -86,8 +86,8 @@ install:
script:
- mkdir -p build && cd build
- cmake -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release .. && make -j4
- CTEST_OUTPUT_ON_FAILURE=1 ctest -j4
- cmake -DBUILD_TESTING=ON -DBUILD_LIB=ON .. && make -j4
- CTEST_OUTPUT_ON_FAILURE=1 ctest --timeout 5 -C Debug -j4
deploy:
provider: script

View File

@@ -5,19 +5,20 @@ image: Visual Studio 2017
environment:
BUILD_DIR: "%APPVEYOR_BUILD_FOLDER%\\build"
CTEST_OUTPUT_ON_FAILURE: 1
platform:
- Win32
configuration:
- Release
- Debug
before_build:
- cd %BUILD_DIR%
- cmake .. -DBUILD_TESTING=ON -DBUILD_LIB=ON -DCMAKE_CXX_FLAGS=/W1 -G"Visual Studio 15 2017"
after_build:
- ctest -C Release -j4
- ctest --timeout 5 -C Debug -j4
build:
parallel: true