summaryrefslogtreecommitdiffstats
path: root/.gitlab/rules.yml
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-17 17:12:30 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-17 17:12:30 (GMT)
commit6dca75fd86d09a8c744e6c6a06a23c0539507b31 (patch)
tree1cabc6b758890f5c55cdf7bf3a1b804be11da1bb /.gitlab/rules.yml
parent4fc07cd369cd46fbd859f140eda971d00ac52704 (diff)
downloadCMake-6dca75fd86d09a8c744e6c6a06a23c0539507b31.zip
CMake-6dca75fd86d09a8c744e6c6a06a23c0539507b31.tar.gz
CMake-6dca75fd86d09a8c744e6c6a06a23c0539507b31.tar.bz2
gitlab-ci: minimize pipeline for packaging
Diffstat (limited to '.gitlab/rules.yml')
-rw-r--r--.gitlab/rules.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml
index 2bc4496..1803e79 100644
--- a/.gitlab/rules.yml
+++ b/.gitlab/rules.yml
@@ -2,6 +2,8 @@
.run_manually:
rules:
+ - if: '$CMAKE_CI_PACKAGE == "true"'
+ when: never
- if: '$CI_MERGE_REQUEST_ID'
when: manual
- if: '$CI_PROJECT_PATH == "cmake/cmake"'
@@ -11,6 +13,8 @@
.run_automatically:
rules:
+ - if: '$CMAKE_CI_PACKAGE == "true"'
+ when: never
- if: '$CI_MERGE_REQUEST_ID'
when: on_success
- if: '$CI_PROJECT_PATH == "cmake/cmake"'
@@ -19,6 +23,6 @@
.run_only_for_package:
rules:
- - if: '$CMAKE_PACKAGE == "true"'
+ - if: '$CMAKE_CI_PACKAGE == "true"'
when: on_success
- when: never