summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpsi29a <psi29a@gmail.com>2021-12-25 16:00:56 +0000
committerpsi29a <psi29a@gmail.com>2021-12-25 16:00:56 +0000
commita3d3c29ff9e11446d845ef64834033a124a33527 (patch)
tree221576d6e544fcda771922fdfc1c65cfcb90f3c5
parent5c67c5316da08e72de9ef726313103faf9d7d26a (diff)
parentca453910797c07b8dff777f58a25d9c744da7f04 (diff)
Merge branch 'only_cmake' into 'master'
Only run static jobs when cmake-related things are modified Closes #6492 See merge request OpenMW/openmw!1498
-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