Skip to content

ci: fix the self-hosted Release Build's Xcode, XcodeGen and fallback - #3562

Merged
datlechin merged 1 commit into
mainfrom
ci/release-build-toolchain
Oct 19, 2026
Merged

datlechin merged 1 commit into
mainfrom
ci/release-build-toolchain

Conversation

@datlechin

Copy link
Copy Markdown
Member

Why

Follow-ups to #3550 for Release Build on the self-hosted Mac:

  • The Mac has Xcode 27.1 beta 27A9269; the image and the tag use the released 27A9275. A version-only match let another compiler pass the gate.
  • setup-xcodegen used the Mac's unverified Homebrew xcodegen, and its fallback needs sudo, which the runner lacks.
  • Only a dispatch could leave the Mac, so a release branch push blocked the tag while it was offline.

Change

  • setup-xcode pins the build as well as the version, on every job.
  • setup-xcodegen installs the checked archive into the runner's tool cache, no sudo, via GITHUB_PATH.
  • runs-on also reads the RELEASE_BUILD_RUNNER repository variable; RELEASING.md, When a run fails, says when to set it.

Verified

Both action scripts ran on the Mac: setup-xcode rejects 27A9269; XcodeGen installs without sudo and loads its presets. actionlint and shellcheck clean.

Not in this PR

  • The Mac needs 27A9275 at /Applications/Xcode.app; until then its nightly fails in setup-xcode.

@datlechin
datlechin merged commit 4403c89 into main Oct 19, 2026
18 checks passed
@datlechin
datlechin deleted the ci/release-build-toolchain branch October 19, 2026 02:18
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