From 05f36006136291ca0d4664ac6b34c82d2813e7e7 Mon Sep 17 00:00:00 2001 From: Lukas Heiligenbrunner Date: Fri, 16 Oct 2020 19:16:41 +0200 Subject: [PATCH] add cleanup job --- .gitlab-ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e71d46b..8120b94 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ stages: - cmake - build - post + - cleanup image: conanio/gcc9:latest @@ -19,10 +20,19 @@ conan: - conan user lukas-heiligenbrunner -r bintray -p $CONAN_KEY - conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan - CONAN_SYSREQUIRES_MODE=enabled conan install .. --build=missing + allow_failure: true # Unix Build cmake: stage: cmake script: - cd build - - cmake -S . -B ../build -D WinBuild=OFF -D GUI=OFF \ No newline at end of file + - 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 \ No newline at end of file