[ci] switch from macos-14 to macos-15 runners #7476

Merged
jameslamb opened 2:42am on September 29, 2026 wanted to merge 33 Ξ” into microsoft/lightgbm main from
ci/fix-macos-14-jobs
Code line content in this commit was purged after it aged past our code retention window of two weeks for this repo. We have insufficient quota to grab the code content at this time, please try back later.

If you receive this message over several days, please consider adding more users to your account (whose quota we can use to grab commit content), or contact [email protected] with error #33NFNE
Diff Delta:
33
About 25 Diff Delta/hour
Classified as:  General

jameslamb's Description of Work

CI is currently blocked because of some brew install failures like this:

==> make install MANDIR=/opt/homebrew/Cellar/openssl@3/3.6.4_1/share/man MANSUFF

Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /opt/homebrew
Could not symlink bin/openssl
Target /opt/homebrew/bin/openssl
is a symlink belonging to [email protected]. You can unlink it:
brew unlink [email protected]

To force the link and overwrite all conflicting files:
brew link --overwrite openssl@3

To list all files that would be deleted:
brew link --overwrite openssl@3 --dry-run

Possible conflicting files are:
/opt/homebrew/bin/openssl -> /opt/homebrew/opt/[email protected]/bin/openssl

(build link)

Things like this are going to be more frequently now that macOS 14 (Sonoma) is considered a "Tier 3" platform for Homebrew:

This proposes just updating all uses of macos-14 runners to macos-15.

Notes for Reviewers

We'll be forced to do this soon anyway

GitHub considers the macos-14 runners deprecated and plans to fully shut them down on November 2nd, 2026: https://github.com/actions/runner-images/issues/13518

We can still target older macOS APIs

For now, let's try to continue supporting a wide range of macOS versions:

https://github.com/lightgbm-org/LightGBM/blob/f4777388bd0c580719feb03469e80f767dc9b09f/.ci/test.sh#L42-L46

Until XCode stops supporting the oldest versions in this range or there is some other specific reason to move that floor.

4 total changed files
Loading changes...
Loading changes...
Loading changes...
Loading changes...
You are now leaving the Pull Request Diff Zone
Like the credits, but with fewer stunts.