electron/.github
trop[bot] 7394591138
ci: use hermetic mac SDK for the release ffmpeg build (#50755)
* ci: use hermetic mac SDK for the release ffmpeg build

gn gen out/ffmpeg runs as a raw gn invocation, so it never receives the
mac_sdk_path arg that e build injects for out/Default. On macOS runners
that means out/Default builds against the hermetic build-tools SDK while
out/ffmpeg falls through to the runner's system Xcode SDK. Reuse the
value e build already wrote so both builds share the same sysroot.

Co-authored-by: Samuel Attard <sattard@anthropic.com>

* ci: copy hermetic SDK symlink into out/ffmpeg and rewrite path

mac_sdk_path must live under root_build_dir, so pointing out/ffmpeg at
//out/Default/... doesn't work. Copy the xcode_links symlink tree into
out/ffmpeg and rewrite the path. Gate on Darwin so Windows/Linux don't
run the sed/cp at all.

Co-authored-by: Samuel Attard <sattard@anthropic.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sattard@anthropic.com>
2026-04-06 21:35:50 -04:00
..
actions ci: use hermetic mac SDK for the release ffmpeg build (#50755) 2026-04-06 21:35:50 -04:00
ISSUE_TEMPLATE build: extend Chromium options in bug report template (#47829) 2025-07-21 15:26:02 -04:00
problem-matchers ci: add markdownlint problem matcher (#49763) 2026-02-11 13:57:10 -05:00
workflows ci: make src-cache upload atomic (#50750) 2026-04-06 22:39:35 +00:00
CODEOWNERS chore: remove remaining references to AppVeyor (#45339) 2025-02-07 12:57:36 +01:00
config.yml chore: mention signed commit requirement (#43406) 2024-08-23 15:52:33 +02:00
copilot-instructions.md chore: add Copilot CLI instructions (#49821) 2026-02-17 13:25:48 -05:00
dependabot.yml build: remove github actions dependabot on release branches (#44054) 2024-10-01 08:50:42 -07:00
PULL_REQUEST_TEMPLATE.md chore: remove stakeholders mention from PR template (#49317) 2026-01-09 00:36:40 -08:00