update ci
This commit is contained in:
parent
7e3b975054
commit
ed639692b5
2 changed files with 7 additions and 9 deletions
|
@ -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
|
||||||
|
|
|
@ -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}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue