add cleanup job
This commit is contained in:
parent
2e3e4986f6
commit
05f3600613
@ -3,6 +3,7 @@ stages:
|
|||||||
- cmake
|
- cmake
|
||||||
- build
|
- build
|
||||||
- post
|
- post
|
||||||
|
- cleanup
|
||||||
|
|
||||||
image: conanio/gcc9:latest
|
image: conanio/gcc9:latest
|
||||||
|
|
||||||
@ -19,10 +20,19 @@ conan:
|
|||||||
- conan user lukas-heiligenbrunner -r bintray -p $CONAN_KEY
|
- conan user lukas-heiligenbrunner -r bintray -p $CONAN_KEY
|
||||||
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
|
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
|
||||||
- CONAN_SYSREQUIRES_MODE=enabled conan install .. --build=missing
|
- CONAN_SYSREQUIRES_MODE=enabled conan install .. --build=missing
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
# Unix Build
|
# Unix Build
|
||||||
cmake:
|
cmake:
|
||||||
stage: cmake
|
stage: cmake
|
||||||
script:
|
script:
|
||||||
- cd build
|
- cd build
|
||||||
- cmake -S . -B ../build -D WinBuild=OFF -D GUI=OFF
|
- cmake -S . -B ../build -D WinBuild=OFF -D GUI=OFF
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
|
cleanup:
|
||||||
|
stage: cleanup
|
||||||
|
script:
|
||||||
|
- echo "cleaning up"
|
||||||
|
after_script:
|
||||||
|
- rm -Rfv build
|
Loading…
Reference in New Issue
Block a user