diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-06-12 15:10:58 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-06-12 16:28:29 (GMT) |
commit | d6fe877cf988dc72853d744566ec0ce997647db9 (patch) | |
tree | 49034fc3df100ed4f0c322e3fd187243bed6d14c /.gitlab/rules.yml | |
parent | 0f4777ab810d87619945583ca504d49703acc0c4 (diff) | |
download | CMake-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.yml | 16 |
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 |