diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7eff5c9ea80c94df30e7335a595bfb48d98e2ee..a0a7b6f6c2d624d3a2b77876883e10b2be9bf6d1 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 #