#54277: ci: do macOS builds with host_cpu set to arm64
Requested by David Sanders · Slack thread
Description of Change
Backport of #54226
See that PR for details.
Conflicts resolved: the fix-sync header list keeps this branch's reclient item, drops the clang-format/typescript-go/hermetic-Python items this branch never had, and is renumbered. "typescript-go" was also dropped from the example lists in the fix-sync and build.yml comments. The macos-ubsan-schedule.yml and release-build.yml changes were dropped because those workflows don't exist on 43-x-y. In the four pipeline-segment-electron-{build,clang-tidy,gn-check,publish}.yml files, this branch's own GCLIENT_EXTRA_ARGS line (with its checkout_arm=True fallback) was kept, and only --custom-var=host_cpu=arm64 was added to the macOS branch of the expression. The branch-only "Fix rollup" / "Sync native rollup libs" steps were kept, because rollup_libs is a ${platform}-templated CIPD package that the Linux sync host still resolves to linux-amd64, so it still has to be swapped on the macOS runner (just like esbuild); main's removal of the typescript-go step does not apply to this branch.
Checklist
- I have built and tested this change
- I have filled out the PR description
- I have reviewed and verified the changes
- PR release notes describe the change in a way relevant to app developers, and are capitalized, punctuated, and past tense.
🤖 Generated with Claude Code
https://claude.ai/code/session_01SQQs2e7fgA11Nh4bpMjPhW
Release Notes
Notes: none
Generated by Claude Code
Backport Information
Backported from
#54226: ci: do macOS builds withhost_cpu set to arm64Semver Impact
Semantic Versioning helps users understand the impact of updates:
- Major (X.y.z): Breaking changes that may require code modifications
- Minor (x.Y.z): New features that maintain backward compatibility
- Patch (x.y.Z): Bug fixes that don't change the API
- None: Changes that don't affect using facing parts of Electron