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 - Win32
- x64 - x64
configuration:
- Debug
- Release
build: build:
parallel: true parallel: true
@ -19,10 +15,12 @@ before_build:
- if exist build RMDIR /S /Q build - if exist build RMDIR /S /Q build
- if not exist build mkdir build - if not exist build mkdir build
- cd build - cd build
- cmake -A %PLATFORM% ..
build_script: build_script:
- cmake --build . --config %CONFIGURATION% - cmake -A %PLATFORM% ..
- cmake --build . --config Debug
- cmake --build . --config Release
test_script: 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 - cd build
script: script:
- cmake -G "Unix Makefiles" .. - cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ..
- cmake --build . --config Debug -- -j${JOBS} - cmake --build . --config Debug -- -j${JOBS}
- ctest --output-on-failure -C Debug -j${JOBS} - ctest --output-on-failure -C Debug -j${JOBS}
- rm -rf ./* - rm -rf ./*
- cmake -G "Unix Makefiles" .. - cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
- cmake --build . --config Release -- -j${JOBS} - cmake --build . --config Release -- -j${JOBS}
- ctest --output-on-failure -C Release -j${JOBS} - ctest --output-on-failure -C Release -j${JOBS}