summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin <julien.voisin@dustri.org>2021-12-21 21:38:23 +0100
committerjvoisin <julien.voisin@dustri.org>2021-12-22 12:01:22 +0100
commitca453910797c07b8dff777f58a25d9c744da7f04 (patch)
tree0293955b6aa97437ca57274600e147b850197681
parentbf019bf28023b30635dd3abb2aac273d2218bf2c (diff)
Only run static jobs when cmake-related things are modified
-rw-r--r--.gitlab-ci.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ea2d860f07..987e05da44 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -127,6 +127,13 @@ Ubuntu_GCC_tests_Debug:
Ubuntu_GCC_Static_Deps:
extends: Ubuntu_GCC
+ rules:
+ - if: $CI_PIPELINE_SOURCE == "push"
+ changes:
+ - "**/CMakeLists.txt"
+ - "cmake/**/*"
+ - "CI/**/*"
+ - ".gitlab-ci.yml"
allow_failure: true
cache:
key: Ubuntu_GCC_Static_Deps