Integrated: 8343923: GHA: Switch to Xcode 15 on MacOS AArch64 runners

Aleksey Shipilev shade at openjdk.org
Wed Nov 13 14:30:48 UTC 2024


On Mon, 11 Nov 2024 09:24:14 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 4c5bc5f2
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4c5bc5f2f091ae861d5329cdae42fe7fa295544b
Stats:     7 lines in 2 files changed: 5 ins; 0 del; 2 mod

8343923: GHA: Switch to Xcode 15 on MacOS AArch64 runners

Reviewed-by: ihse

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

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


More information about the build-dev mailing list