ci: Drop explicit XCTest deployment target for macos-arm64 jobs

Now that tart gives a consistent macOS version between build and test
jobs, we can let the test suite select its own deployment target.
This commit is contained in:
Brad King committed 2026-10-08 17:54:26 -04:00
1 parent e17d281417
commit 13063c6ddd
1 file changed
+5 -5
+5 -5
View File
@@ -12,13 +12,13 @@ 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 "")
if("$ENV{CMAKE_CONFIGURATION}" MATCHES "macos_arm64")
set(CMake_TEST_APPLE_SILICON ON CACHE BOOL "")
else()
set(CMake_TEST_APPLE_SILICON OFF 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 "")
endif()