summaryrefslogtreecommitdiffstats
path: root/.gitlab/rules.yml
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-06-12 15:10:58 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-06-12 16:28:29 (GMT)
commitd6fe877cf988dc72853d744566ec0ce997647db9 (patch)
tree49034fc3df100ed4f0c322e3fd187243bed6d14c /.gitlab/rules.yml
parent0f4777ab810d87619945583ca504d49703acc0c4 (diff)
downloadCMake-d6fe877cf988dc72853d744566ec0ce997647db9.zip
CMake-d6fe877cf988dc72853d744566ec0ce997647db9.tar.gz
CMake-d6fe877cf988dc72853d744566ec0ce997647db9.tar.bz2
gitlab-ci: split into multiple files
Also add comments for sections to make it easier to figure out what's going on. Also rename the `cmake_test_unix_package` to be Linux-specific since it actually is.
Diffstat (limited to '.gitlab/rules.yml')
-rw-r--r--.gitlab/rules.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml
new file mode 100644
index 0000000..6911e5e
--- /dev/null
+++ b/.gitlab/rules.yml
@@ -0,0 +1,16 @@
+# Rules for where jobs can run
+
+.manual_rules_settings: &manual_rules_settings
+ - if: '$CI_PROJECT_PATH == "cmake/cmake"'
+ when: delayed
+ start_in: 5 minutes
+ - if: '$CI_MERGE_REQUEST_ID'
+ when: manual
+ - when: never
+
+.rules_settings: &rules_settings
+ - if: '$CI_PROJECT_PATH == "cmake/cmake"'
+ when: always
+ - if: '$CI_MERGE_REQUEST_ID'
+ when: always
+ - when: never