summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/configure_common.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-02 14:16:18 (GMT)
committerBrad King <brad.king@kitware.com>2022-03-02 14:47:02 (GMT)
commitb88f7aad639a46ea43bfe2ac9246d1c9bdbb9c0a (patch)
treeb59d57adb75ce69ba49a02564a83b735693747a6 /.gitlab/ci/configure_common.cmake
parent2a7ac62c04f2c4417306a505123a675baef82c8e (diff)
downloadCMake-b88f7aad639a46ea43bfe2ac9246d1c9bdbb9c0a.zip
CMake-b88f7aad639a46ea43bfe2ac9246d1c9bdbb9c0a.tar.gz
CMake-b88f7aad639a46ea43bfe2ac9246d1c9bdbb9c0a.tar.bz2
ci: add nightly CI job to build CMake in-place
Diffstat (limited to '.gitlab/ci/configure_common.cmake')
-rw-r--r--.gitlab/ci/configure_common.cmake9
1 files changed, 8 insertions, 1 deletions
diff --git a/.gitlab/ci/configure_common.cmake b/.gitlab/ci/configure_common.cmake
index a711f3b..ed3d18d 100644
--- a/.gitlab/ci/configure_common.cmake
+++ b/.gitlab/ci/configure_common.cmake
@@ -1,4 +1,11 @@
-set(CTEST_USE_LAUNCHERS "ON" CACHE BOOL "")
+if("$ENV{CMAKE_CI_BOOTSTRAP}")
+ # Launchers do not work during bootstrap: no ctest available.
+ set(CTEST_USE_LAUNCHERS "OFF" CACHE BOOL "")
+ # We configure by bootstrapping, so skip the BootstrapTest.
+ set(CMAKE_SKIP_BOOTSTRAP_TEST ON CACHE BOOL "")
+else()
+ set(CTEST_USE_LAUNCHERS "ON" CACHE BOOL "")
+endif()
# We run the install right after the build. Avoid rerunning it when installing.
set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY "ON" CACHE BOOL "")