mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 13:27:09 +00:00
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:
1 parent
e17d281417
commit
13063c6ddd
1 file changed
+5
-5
@@ -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()
|
||||
Reference in new issue
Block a user