Skip to content

test | Build LGPL FFmpeg on GitHub-hosted macOS runners with cached Homebrew bottles - #1290

Open
avdivan wants to merge 7 commits into
opencv:4.xfrom
avdivan:travis
Open

avdivan wants to merge 7 commits into
opencv:4.xfrom
avdivan:travis

Conversation

@avdivan

@avdivan avdivan commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

No description provided.

…cOS runners

- travis_osx_brew_cache.sh: install cached bottles from files (core formulae come
  from the JSON API now), cache dir for actions/cache, GHA-friendly bootstrap mode,
  explicit error checks inside || contexts.
- travis_config.sh: generate opencv/local/ffmpeg-lgpl formula from upstream ffmpeg
  (no GPL parts, same libraries as Linux builds), install_ffmpeg_lgpl with license check.
- macOS workflow: FFmpeg job builds and caches bottles, Build jobs install from cache;
  MACOSX_DEPLOYMENT_TARGET raised to 15.0 to match Homebrew bottles.
brew cat doesn't work for formulae installed from the JSON API:
their source doesn't exist on disk.
Homebrew 7.0.12 on macos-15 runner images can't install bottles from files:
`brew install <bottle>` fails with "Invalid tap name". Fixed in 7.0.13.
With pipefail (default in GitHub Actions), `brew outdated | grep -q` and
`brew info | head` fail with "Broken pipe", and outdated packages
were considered up to date.
…dated runs

Outdated bottles are already dropped by formula version; a manual
BREW_CACHE_VERSION covers changes of the ffmpeg formula conversion rules.
Rebuilding everything from source on Intel takes hours.

This branch has not been deployed

No deployments
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