From b19276b45ddcd7e95b6da41b61ce4067bdbeb5bf Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de> Date: Fri, 12 May 2023 15:30:05 +0200 Subject: [PATCH] install also under Debian; make install conditional on branch == main --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7eff5c..a0a7b6f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,7 +45,7 @@ windows: - cmake --build . --config Release - Get-Location - ctest -C Release --output-on-failure - - cmake --install . + - if ("$CI_COMMIT_REF_NAME" -eq "main") { cmake --install . ; } native_Debian_clang: tags: &native @@ -62,7 +62,7 @@ native_Debian_clang: - cmake .. -DCMAKE_PREFIX_PATH="/home/build/Qt/6.2.3/gcc_64/lib/cmake" - make -j6 - ctest -j6 --output-on-failure - + - if [ "$CI_COMMIT_REF_NAME" == "main" ]; then make install; fi # Docker unreachable - feb21 # -- GitLab