update ci

This commit is contained in:
neargye 2019-11-20 16:06:11 +05:00
parent 7e3b975054
commit ed639692b5
2 changed files with 7 additions and 9 deletions

View file

@ -8,10 +8,6 @@ platform:
- Win32
- x64
configuration:
- Debug
- Release
build:
parallel: true
@ -19,10 +15,12 @@ before_build:
- if exist build RMDIR /S /Q build
- if not exist build mkdir build
- cd build
- cmake -A %PLATFORM% ..
build_script:
- cmake --build . --config %CONFIGURATION%
- cmake -A %PLATFORM% ..
- cmake --build . --config Debug
- cmake --build . --config Release
test_script:
- ctest --output-on-failure -C %CONFIGURATION%
- ctest --output-on-failure -C Debug
- ctest --output-on-failure -C Release

View file

@ -104,11 +104,11 @@ before_script:
- cd build
script:
- cmake -G "Unix Makefiles" ..
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ..
- cmake --build . --config Debug -- -j${JOBS}
- ctest --output-on-failure -C Debug -j${JOBS}
- rm -rf ./*
- cmake -G "Unix Makefiles" ..
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
- cmake --build . --config Release -- -j${JOBS}
- ctest --output-on-failure -C Release -j${JOBS}