summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/gitlab_ci.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-06 11:20:07 (GMT)
committerBrad King <brad.king@kitware.com>2020-10-07 10:16:51 (GMT)
commitdd47d0d7f49c85d8a3c5b644876aafc3c4ffc811 (patch)
tree1c1bf651a2a1611e5a366a9695c6e5f6dec7700e /.gitlab/ci/gitlab_ci.cmake
parent3f494b12ea91a807086eea87587184a1e266efe6 (diff)
downloadCMake-dd47d0d7f49c85d8a3c5b644876aafc3c4ffc811.zip
CMake-dd47d0d7f49c85d8a3c5b644876aafc3c4ffc811.tar.gz
CMake-dd47d0d7f49c85d8a3c5b644876aafc3c4ffc811.tar.bz2
gitlab-ci: add rules to enable jobs in a nightly pipeline schedule
Diffstat (limited to '.gitlab/ci/gitlab_ci.cmake')
-rw-r--r--.gitlab/ci/gitlab_ci.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab/ci/gitlab_ci.cmake b/.gitlab/ci/gitlab_ci.cmake
index 468619d..f863a27 100644
--- a/.gitlab/ci/gitlab_ci.cmake
+++ b/.gitlab/ci/gitlab_ci.cmake
@@ -58,6 +58,10 @@ elseif (NOT "$ENV{CMAKE_CI_PROJECT_CONTINUOUS_BRANCH}" STREQUAL "" AND "$ENV{CMA
set(ctest_group "Continuous")
endif()
string(PREPEND CTEST_BUILD_NAME "continuous-")
+elseif (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "")
+ set(ctest_model "Nightly")
+ set(ctest_group "Nightly Expected")
+ string(PREPEND CTEST_BUILD_NAME "nightly-")
elseif ("$ENV{CI_PROJECT_PATH}" STREQUAL "cmake/cmake")
if ("$ENV{CI_COMMIT_REF_NAME}" STREQUAL "master")
set(ctest_group "master")