Explorar o código

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.
Brad King %!s(int64=5) %!d(string=hai) anos
pai
achega
55193c8013
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      .gitlab/ci/configure_macos_common.cmake

+ 5 - 0
.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 "")