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.
This commit is contained in:
Brad King
2020-12-09 13:07:00 -05:00
parent 40877903ac
commit 55193c8013

View File

@@ -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 "")