RFR: 8343923: GHA: Switch to Xcode 15 on MacOS AArch64 runners [v2]

Aleksey Shipilev shade at openjdk.org
Mon Nov 11 10:45:20 UTC 2024


> We use macos-14 images for macos-aarch64 runners. We use Xcode 14.3.1 there. Xcode 14 goes away from those runners, as per: https://github.com/actions/runner-images/issues/10703. Current GH runner docs say macos-14 image defaults to Xcode 15.4: https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md. We can switch to that.
> 
> I think this policy change is why we started seeing GHA failures like:
> 
> 
> Run # On macOS we need to install some dependencies for testing
> ==> Summary
> 🍺 /opt/homebrew/Cellar/make/4.4.1: 17 files, 1.3MB
> xcode-select: error: invalid developer directory '/Applications/Xcode_14.3.1.app/Contents/Developer'
> Error: Process completed with exit code 1.

Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:

  Also pass the Xcode version to test jobs

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/22005/files
  - new: https://git.openjdk.org/jdk/pull/22005/files/8de565c2..6f4d3eec

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22005&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22005&range=00-01

  Stats: 6 lines in 2 files changed: 5 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/22005.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22005/head:pull/22005

PR: https://git.openjdk.org/jdk/pull/22005


More information about the build-dev mailing list