Commit b58c97c
ci(mac): upload macos-arm64 ffmpeg tree as one-shot artifact (universal-build prep)
Bundling-strategy iteration toward macOS universal builds. The mac-14
runner already produces libs/ffmpeg/macos-arm64/ during the existing
"Vendor LGPL ffmpeg" step, but the working tree is discarded when the
runner shuts down. Capturing it as a uploaded artifact lets us commit
it once into the repo (libs/ffmpeg/macos-arm64/), pairing with the
already-vendored libs/ffmpeg/macos-x86_64/ to unlock:
1. Local universal mac builds (CMAKE_OSX_ARCHITECTURES="arm64;x86_64")
once cmake/ffmpeg.cmake's "warn-and-fall-back-to-host" logic at
lines 26-29 is replaced with proper per-arch handling.
2. CI's "Vendor LGPL ffmpeg" + "Verify LGPL discipline" steps to be
deleted entirely — pre-built bytes mean a 15-25 min CI step becomes
a no-op git checkout. Reduces toolchain-rot surface (no more MSYS2
package list debugging on Windows; mac arm64 source-build openh264
no longer needs to run every CI invocation).
Once libs/ffmpeg/macos-arm64/ lands in the repo, both this upload step
AND the upstream Vendor/Verify steps can be removed. Pattern can
extend to libs/ffmpeg/windows-x86_64/ + libs/ffmpeg/linux-x86_64/ as
those CI lanes start succeeding.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent de0e71f commit b58c97c
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
63 | 77 | | |
64 | 78 | | |
65 | 79 | | |
| |||
0 commit comments