Merge bitcoin/bitcoin#33932: ci: Use latest Xcode that the minimum macOS version allows

fa9537cde1 ci: Use latest Xcode that the minimum macOS version allows (MarcoFalke)

Pull request description:

  Changing the CI policy to use the *latest* Xcode (instead of the *earliest*), allowed by the Bitcoin Core minimum supported macOS version, makes sense: While this may require the developer or user to install a later security point-release on macOS, this should generally be fine and it is even expected that users run the latest supported security release of their operating system. Also, in practise, this often doesn't result in a visible change anyway: This specific change from Xcode 16.0 to 16.2 does not change any behavior of the Bitcoin Core CI, because there are no C++-related changes in those point releases.

ACKs for top commit:
  l0rinc:
    ACK fa9537cde1
  vasild:
    ACK fa9537cde1
  fanquake:
    ACK fa9537cde1 - seems fine.

Tree-SHA512: ca0e6c4fc396cad7569d04d7a648bc5318cce171f2fa941d8b00a30cf49b054e70a0133738533c744bccd65baf9129ba527b1950b15e10c3f7953a24ef359977
This commit is contained in:
merge-script
2025-11-25 10:38:31 +00:00

View File

@@ -155,11 +155,11 @@ jobs:
- name: Clang version
run: |
# Use the earliest Xcode supported by the version of macOS denoted in
# Use the latest Xcode supported by the version of macOS denoted in
# doc/release-notes-empty-template.md and providing at least the
# minimum clang version denoted in doc/dependencies.md.
# See: https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes
sudo xcode-select --switch /Applications/Xcode_16.0.app
# See: https://developer.apple.com/documentation/xcode-release-notes/xcode-16_2-release-notes
sudo xcode-select --switch /Applications/Xcode_16.2.app
clang --version
- name: Install Homebrew packages