summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-07 10:05:57 (GMT)
committerBrad King <brad.king@kitware.com>2020-10-07 10:12:44 (GMT)
commit63c7e7ca04a9435edf662061bafc8fb3a349aece (patch)
tree927b400663c909b96fe50236cc1fea38712f0beb /.gitlab
parent0556bd2f8a0cb4df6b2aaf157dc598358eef4c83 (diff)
downloadCMake-63c7e7ca04a9435edf662061bafc8fb3a349aece.zip
CMake-63c7e7ca04a9435edf662061bafc8fb3a349aece.tar.gz
CMake-63c7e7ca04a9435edf662061bafc8fb3a349aece.tar.bz2
gitlab-ci: factor out ctest_start() model into a variable
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/ctest_configure.cmake2
-rw-r--r--.gitlab/ci/ctest_test_external.cmake2
-rw-r--r--.gitlab/ci/gitlab_ci.cmake1
3 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab/ci/ctest_configure.cmake b/.gitlab/ci/ctest_configure.cmake
index 1c9d040..2682055 100644
--- a/.gitlab/ci/ctest_configure.cmake
+++ b/.gitlab/ci/ctest_configure.cmake
@@ -6,7 +6,7 @@ set(cmake_args
-C "${CMAKE_CURRENT_LIST_DIR}/configure_$ENV{CMAKE_CONFIGURATION}.cmake")
# Create an entry in CDash.
-ctest_start(Experimental GROUP "${ctest_group}")
+ctest_start("${ctest_model}" GROUP "${ctest_group}")
# Gather update information.
find_package(Git)
diff --git a/.gitlab/ci/ctest_test_external.cmake b/.gitlab/ci/ctest_test_external.cmake
index 1b81da3..9e2d421 100644
--- a/.gitlab/ci/ctest_test_external.cmake
+++ b/.gitlab/ci/ctest_test_external.cmake
@@ -7,7 +7,7 @@ set(cmake_args
-C "${CMAKE_CURRENT_LIST_DIR}/configure_$ENV{CMAKE_CONFIGURATION}.cmake")
# Create an entry in CDash.
-ctest_start(Experimental GROUP "${ctest_group}")
+ctest_start("${ctest_model}" GROUP "${ctest_group}")
# Gather update information.
find_package(Git)
diff --git a/.gitlab/ci/gitlab_ci.cmake b/.gitlab/ci/gitlab_ci.cmake
index 8297514..44ecf5f 100644
--- a/.gitlab/ci/gitlab_ci.cmake
+++ b/.gitlab/ci/gitlab_ci.cmake
@@ -19,6 +19,7 @@ endif ()
# Set the build metadata.
set(CTEST_BUILD_NAME "$ENV{CI_PROJECT_NAME}-$ENV{CMAKE_CONFIGURATION}")
set(CTEST_SITE "gitlab-ci")
+set(ctest_model "Experimental")
# Default to Release builds.
if (NOT "$ENV{CMAKE_BUILD_TYPE}" STREQUAL "")