Skip to content

ci: upgrade macos-14 runners to macos-15 - #2871

Open
joshuarli wants to merge 1 commit into
mainfrom
macos-15-runners
Open

joshuarli wants to merge 1 commit into
mainfrom
macos-15-runners

Conversation

@joshuarli

Copy link
Copy Markdown
Member

Summary

  • Upgrade macos-14 GitHub Actions runners (and macos-14-large / macos-14-xlarge) to macos-15 in .github/
  • Where a matrix already lists macos-15, drop the macos-14 entry instead of duplicating it

Why

GitHub is retiring the macOS 14 runner images. Deprecation began July 6, 2026 and the
images are fully unsupported on November 2, 2026, after which jobs using these labels
are terminated with an error.

Before that, GitHub runs brownouts that deliberately fail macos-14 jobs, the first
on October 5 (14:00-00:00 UTC), with more through October 30. See
actions/runner-images#13518.

Review notes

macos-15 ships different Xcode and simulator versions than macos-14. If a job pins an
Xcode or iOS simulator version, or pinned macos-14 on purpose to get an older one, check
that it still works on macos-15.

Generated by macos-15.

@joshuarli
joshuarli requested a review from a team October 2, 2026 22:39
compile:
name: ${{ inputs.unity-version }} ${{ inputs.init-type }}
runs-on: 'macos-14' # Pinning to get the oldest, supported version of iOS simulator
runs-on: 'macos-15' # Pinning to get the oldest, supported version of iOS simulator

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The workflow specifies Xcode 15.0 and the iOS 17.0 simulator, which are unavailable on the selected macos-15 runner, causing build failures.
Severity: HIGH

Suggested Fix

To resolve the incompatibility, either switch to a runner that supports Xcode 15, such as macos-14, or update the workflows to use an Xcode version available on macos-15 (e.g., Xcode 16) and a corresponding iOS simulator.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: .github/workflows/test-compile-ios.yml#L19

Potential issue: The `test-compile-ios.yml` and `test-run-ios.yml` workflows attempt to
use Xcode 15.0 and the corresponding iOS 17.0 simulator on `macos-15` runners. However,
`macos-15` runners do not have Xcode 15.x or its associated runtimes pre-installed; they
only provide Xcode 16.x versions. This version mismatch will cause the `setup-xcode`
action and `xcodebuild` commands to fail, breaking the iOS test and compile workflows.

Also affects:

  • .github/workflows/test-run-ios.yml:32

Did we get this right? 👍 / 👎 to inform future reviews.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 18b2bd2. Configure here.

compile:
name: ${{ inputs.unity-version }} ${{ inputs.init-type }}
runs-on: 'macos-14' # Pinning to get the oldest, supported version of iOS simulator
runs-on: 'macos-15' # Pinning to get the oldest, supported version of iOS simulator

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pinned iOS versions missing on macos-15

High Severity

The switch to macos-15 still compiles against the iOS 17.0 simulator and selects Xcode 15.0 for that run. Current macos-15 images ship only Xcode 26.x and do not include the iOS 17.0 runtime, so compile jobs and the 17.0 run jobs fail.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 18b2bd2. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant