mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Merge topic 'backport-3.31-ci-xcode-26.4' into release-4.1
56c4fb8b3dci: Update macos-arm64 jobs to use Xcode 26.420361a0589Tests/RunCMake/CMP0156: Update for Xcode 26.48b92847dafXcode: Fix target ordering operator to meet std::sort requirementsaa942cd81fCTestCustom: Ignore warnings about zstd objects and libs with no symbols85da1c5190ci: Split macOS job configurations by architecture Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !11893
This commit is contained in:
+35
-20
@@ -5,15 +5,20 @@
|
||||
.macos:
|
||||
variables:
|
||||
GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci ext/$CI_CONCURRENT_ID"
|
||||
# TODO: Factor this out so that each job selects the Xcode version to
|
||||
# use so that different versions can be tested in a single pipeline.
|
||||
|
||||
.macos_arm64:
|
||||
extends: .macos
|
||||
variables:
|
||||
DEVELOPER_DIR: "/Applications/Xcode-26.4.app/Contents/Developer"
|
||||
|
||||
.macos_x86_64:
|
||||
extends: .macos
|
||||
variables:
|
||||
DEVELOPER_DIR: "/Applications/Xcode-26.3.app/Contents/Developer"
|
||||
|
||||
### Build and test
|
||||
|
||||
.macos_build:
|
||||
extends: .macos
|
||||
|
||||
variables:
|
||||
# Note that shell runners only support runners with a single
|
||||
# concurrency level. We can't use `$CI_CONCURRENCY_ID` because this may
|
||||
@@ -22,8 +27,18 @@
|
||||
# could run at the same time, so we drop it.
|
||||
GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci"
|
||||
|
||||
.macos_arm64_build:
|
||||
extends:
|
||||
- .macos_arm64
|
||||
- .macos_build
|
||||
|
||||
.macos_x86_64_build:
|
||||
extends:
|
||||
- .macos_x86_64
|
||||
- .macos_build
|
||||
|
||||
.macos_x86_64_ninja:
|
||||
extends: .macos_build
|
||||
extends: .macos_x86_64_build
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: macos_x86_64_ninja
|
||||
@@ -31,7 +46,7 @@
|
||||
CTEST_NO_WARNINGS_ALLOWED: 1
|
||||
|
||||
.macos_arm64_ninja:
|
||||
extends: .macos_build
|
||||
extends: .macos_arm64_build
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: macos_arm64_ninja
|
||||
@@ -39,7 +54,7 @@
|
||||
CTEST_NO_WARNINGS_ALLOWED: 1
|
||||
|
||||
.macos_arm64_ninja_symlinked:
|
||||
extends: .macos_build
|
||||
extends: .macos_arm64_build
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: macos_arm64_ninja_symlinked
|
||||
@@ -48,7 +63,7 @@
|
||||
CMAKE_CI_BUILD_DIR: "real_work/work/build"
|
||||
|
||||
.macos_arm64_curl:
|
||||
extends: .macos_build
|
||||
extends: .macos_arm64_build
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: macos_arm64_curl
|
||||
@@ -61,7 +76,7 @@
|
||||
CMAKE_CONFIGURATION: macos_arm64_pch
|
||||
|
||||
.macos_x86_64_makefiles:
|
||||
extends: .macos_build
|
||||
extends: .macos_x86_64_build
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: macos_x86_64_makefiles
|
||||
@@ -69,7 +84,7 @@
|
||||
CMAKE_GENERATOR: "Unix Makefiles"
|
||||
|
||||
.macos_package:
|
||||
extends: .macos_build
|
||||
extends: .macos_arm64_build
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: macos_package
|
||||
@@ -77,7 +92,7 @@
|
||||
CMAKE_CI_NO_INSTALL: 1
|
||||
|
||||
.macos10.10_package:
|
||||
extends: .macos_build
|
||||
extends: .macos_arm64_build
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: macos10.10_package
|
||||
@@ -87,7 +102,7 @@
|
||||
### External testing
|
||||
|
||||
.macos_x86_64_xcode:
|
||||
extends: .macos
|
||||
extends: .macos_x86_64
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: macos_x86_64_xcode
|
||||
@@ -95,7 +110,7 @@
|
||||
CMAKE_CI_NIGHTLY_IGNORE_DEPS: "true"
|
||||
|
||||
.macos_arm64_xcode:
|
||||
extends: .macos
|
||||
extends: .macos_arm64
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: macos_arm64_xcode
|
||||
@@ -103,7 +118,7 @@
|
||||
CMAKE_CI_NIGHTLY_IGNORE_DEPS: "true"
|
||||
|
||||
.macos_arm64_xcode_symlinked:
|
||||
extends: .macos
|
||||
extends: .macos_arm64
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: macos_arm64_xcode_symlinked
|
||||
@@ -113,7 +128,7 @@
|
||||
CMAKE_CI_BUILD_DIR: "real_work/work/build"
|
||||
|
||||
.macos_arm64_xcode_ub:
|
||||
extends: .macos
|
||||
extends: .macos_arm64
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: macos_arm64_xcode_ub
|
||||
@@ -121,7 +136,7 @@
|
||||
CMAKE_CI_NIGHTLY_IGNORE_DEPS: "true"
|
||||
|
||||
.macos_arm64_ninja_multi:
|
||||
extends: .macos
|
||||
extends: .macos_arm64
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: macos_arm64_ninja_multi
|
||||
@@ -129,7 +144,7 @@
|
||||
CMAKE_CI_NIGHTLY_IGNORE_DEPS: "true"
|
||||
|
||||
.macos_x86_64_ninja_ub:
|
||||
extends: .macos
|
||||
extends: .macos_x86_64
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: macos_x86_64_ninja_ub
|
||||
@@ -158,7 +173,7 @@
|
||||
- cmake # Since this is a bare runner, pin to a project.
|
||||
- macos-arm64
|
||||
- shell
|
||||
- xcode-26.3
|
||||
- xcode-26.4
|
||||
- nonconcurrent
|
||||
|
||||
.macos_arm64_tags_ext:
|
||||
@@ -166,7 +181,7 @@
|
||||
- cmake # Since this is a bare runner, pin to a project.
|
||||
- macos-arm64
|
||||
- shell
|
||||
- xcode-26.3
|
||||
- xcode-26.4
|
||||
- concurrent
|
||||
|
||||
.macos_arm64_tags_package:
|
||||
@@ -174,7 +189,7 @@
|
||||
- cmake # Since this is a bare runner, pin to a project.
|
||||
- macos-arm64
|
||||
- shell
|
||||
- xcode-26.3
|
||||
- xcode-26.4
|
||||
- nonconcurrent
|
||||
- finder
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
|
||||
"warning: \\(Long double usage is reported only once for each file"
|
||||
"warning: To disable this warning use"
|
||||
"could not be inlined"
|
||||
"libcm(curl|expat).*has no symbols"
|
||||
"cm(curl|expat).build/[^ ]*.o has no symbols"
|
||||
"libcm(curl|expat|zstd).*has no symbols"
|
||||
"cm(curl|expat|zstd).build/[^ ]*.o has no symbols"
|
||||
"not sorted slower link editing will result"
|
||||
"stl_deque.h:479"
|
||||
"Utilities.cmzlib."
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
ld: warning: ignoring duplicate libraries: '[^']*liblib1\.a'
|
||||
[^
|
||||
]*ld: warning: ignoring duplicate libraries: '[^']*liblib1\.a'
|
||||
ld: fatal warning\(s\) induced error \(-fatal_warnings\)
|
||||
(cc|clang): error: linker command failed with exit code 1 \(use -v to see invocation\)
|
||||
[^
|
||||
]*(cc|clang): error: linker command failed with exit code 1 \(use -v to see invocation\)
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
ld: warning: ignoring duplicate libraries: '[^']*liblib1\.a', '[^']*liblib2\.a'
|
||||
[^
|
||||
]*ld: warning: ignoring duplicate libraries: '[^']*liblib1\.a', '[^']*liblib2\.a'
|
||||
ld: fatal warning\(s\) induced error \(-fatal_warnings\)
|
||||
(cc|clang): error: linker command failed with exit code 1 \(use -v to see invocation\)
|
||||
[^
|
||||
]*(cc|clang): error: linker command failed with exit code 1 \(use -v to see invocation\)
|
||||
|
||||
Reference in New Issue
Block a user