summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-07 10:01:57 (GMT)
committerBrad King <brad.king@kitware.com>2020-10-07 10:16:28 (GMT)
commit3f494b12ea91a807086eea87587184a1e266efe6 (patch)
tree9a60fa9ba04982e4b09b9b94bd019255028c2074 /.gitlab/ci
parent63c7e7ca04a9435edf662061bafc8fb3a349aece (diff)
downloadCMake-3f494b12ea91a807086eea87587184a1e266efe6.zip
CMake-3f494b12ea91a807086eea87587184a1e266efe6.tar.gz
CMake-3f494b12ea91a807086eea87587184a1e266efe6.tar.bz2
gitlab-ci: configure continuous job ctest build name and model accordingly
Diffstat (limited to '.gitlab/ci')
-rw-r--r--.gitlab/ci/gitlab_ci.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab/ci/gitlab_ci.cmake b/.gitlab/ci/gitlab_ci.cmake
index 44ecf5f..468619d 100644
--- a/.gitlab/ci/gitlab_ci.cmake
+++ b/.gitlab/ci/gitlab_ci.cmake
@@ -51,11 +51,13 @@ set(ctest_group "Experimental")
if (NOT "$ENV{CI_MERGE_REQUEST_ID}" STREQUAL "")
set(ctest_group "merge-requests")
elseif (NOT "$ENV{CMAKE_CI_PROJECT_CONTINUOUS_BRANCH}" STREQUAL "" AND "$ENV{CMAKE_CI_PROJECT_CONTINUOUS_BRANCH}" STREQUAL "$ENV{CI_COMMIT_BRANCH}" AND NOT "$ENV{CMAKE_CI_JOB_CONTINUOUS}" STREQUAL "")
+ set(ctest_model "Continuous")
if (NOT "$ENV{CMAKE_CI_JOB_HELP}" STREQUAL "")
set(ctest_group "Continuous Help")
else()
set(ctest_group "Continuous")
endif()
+ string(PREPEND CTEST_BUILD_NAME "continuous-")
elseif ("$ENV{CI_PROJECT_PATH}" STREQUAL "cmake/cmake")
if ("$ENV{CI_COMMIT_REF_NAME}" STREQUAL "master")
set(ctest_group "master")