From 55193c8013fbdf9a9bb211bb27833007a189a44c Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 9 Dec 2020 13:07:00 -0500 Subject: 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. --- .gitlab/ci/configure_macos_common.cmake | 5 +++++ 1 file changed, 5 insertions(+) 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 "") -- cgit v0.12