summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-05-26 14:44:15 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-05-26 16:50:16 (GMT)
commite0b9e8fba872cdde43d7e7fa1cab626ee446fd2b (patch)
treee83f9ed772bdc81d6d1037924fca145909f274e4 /.gitlab/ci
parentf00ab86f1f77cba7554a2524439bb5d1a07c55ab (diff)
downloadCMake-e0b9e8fba872cdde43d7e7fa1cab626ee446fd2b.zip
CMake-e0b9e8fba872cdde43d7e7fa1cab626ee446fd2b.tar.gz
CMake-e0b9e8fba872cdde43d7e7fa1cab626ee446fd2b.tar.bz2
ci: test the configuration that was built
Diffstat (limited to '.gitlab/ci')
-rw-r--r--.gitlab/ci/gitlab_ci.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab/ci/gitlab_ci.cmake b/.gitlab/ci/gitlab_ci.cmake
index b49f51d..29d792f 100644
--- a/.gitlab/ci/gitlab_ci.cmake
+++ b/.gitlab/ci/gitlab_ci.cmake
@@ -27,6 +27,7 @@ endif ()
if (NOT CTEST_BUILD_CONFIGURATION)
set(CTEST_BUILD_CONFIGURATION "Release")
endif ()
+set(CTEST_CONFIGURATION_TYPE "${CTEST_BUILD_CONFIGURATION}")
# Default to using Ninja.
if (NOT "$ENV{CMAKE_GENERATOR}" STREQUAL "")