summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-12-09 18:07:00 (GMT)
committerBrad King <brad.king@kitware.com>2020-12-09 18:28:52 (GMT)
commit55193c8013fbdf9a9bb211bb27833007a189a44c (patch)
tree5bcc6d1e8e0a60a6380e4bae1ae4ad25c83d7a4f
parent40877903ace8559f079b367c73b1a81485319d38 (diff)
downloadCMake-55193c8013fbdf9a9bb211bb27833007a189a44c.zip
CMake-55193c8013fbdf9a9bb211bb27833007a189a44c.tar.gz
CMake-55193c8013fbdf9a9bb211bb27833007a189a44c.tar.bz2
ci: Hard-code XCTest deployment target to 10.15
Avoid using the macOS version running on the CI job host that happens to run the build job.
-rw-r--r--.gitlab/ci/configure_macos_common.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_macos_common.cmake b/.gitlab/ci/configure_macos_common.cmake
index 4bd3c7d..37cd51c 100644
--- a/.gitlab/ci/configure_macos_common.cmake
+++ b/.gitlab/ci/configure_macos_common.cmake
@@ -11,3 +11,8 @@ set(CMake_TEST_Java 0 CACHE FILEPATH "")
set(CMAKE_BUILD_WITH_INSTALL_RPATH OFF CACHE BOOL "")
set(BUILD_QtDialog ON CACHE BOOL "")
+
+# The "XCTest" test uses an explicit deployment target chosen
+# when CMake itself is configured. Use a version that is not
+# newer than the macOS version running on any CI host.
+set(CMake_TEST_XCTest_DEPLOYMENT_TARGET "10.15" CACHE STRING "")