Repository navigation
ci: fix Intel Mac build by skipping Homebrew dependencies - #208
youneedgreg wants to merge 1 commit into
Conversation
|
ok thanks @youneedgreg for the fix. we will get this in after #207. |
|
I see the Mac Intel build now gets cancelled instead of running. Please advise. |
|
Also, I just updated / fixed the README formatting, so please rebase when you get a chance |
fcb5921 to
882c233
Compare
|
Thanks @s2t2! The Intel Mac job wasn't cancelled by this change. The ubuntu-latest, 3.10.15 job failed first, because that Python version isn't available on the new Ubuntu runner image anymore, and the matrix's default fail-fast then cancelled every other job, including macos-15-intel. You fixed the version in d20ab07, so I've rebased onto the latest copybara_push, which also picks up your README fix. My duplicate README formatting commit dropped out in the rebase, so this PR is now just the one build.yaml change. Could you approve the workflow run? The Intel Mac job should now skip the Homebrew step and run the tests. |
|
Thanks, looks like we are seeing this issue now: If there is a way to solve, let's pursue that. Otherwise if we are not using ffmpeg for the build process, maybe we just comment out ffmpeg installation and make a comment in the workflow file and in issue #198 |
What changed and why
Fixes #198.
The
macos-15-inteljob fails inInstall system dependencies (on Mac). Theopenssl@3symlink error in the log is a side effect rather than the cause, so the--forceand--overwriteoptions suggested in the issue wouldn't fix it.Homebrew stopped providing bottles for Intel Macs, so
brew install protobuf@21 ffmpegcompiles ffmpeg's dependency tree from source. In the failing run that step ran for about 57 minutes, then crashed withNameError: uninitialized constant CurlDownloadStrategy::Timeout.ci: skip Homebrew dependencies on Intel Mac runner: the Mac install step now runs on ARM64 only. The later CI steps don't need either tool on Intel: the generated_pb2modules are checked in, andmediapyonly calls ffmpeg when encoding video, which the test suite passes without on this runner.docs: format README with mdformat: the README edit in 92fa312 mademdformat README.md docs --checkfail on every job, so no PR based on the current branch can pass. This is formatting only, with no wording changes.Local Intel Mac setup still needs its own solution, since
docs/setup/mac.mdstill recommendsbrew install ffmpeg. I've left that out of this PR.How it was tested
I ran the workflow on my fork from these commits, plus a temporary commit that added a push trigger and
fail-fast: false: run 41497072585.macos-15-intel, 3.11macos-latest, 3.11ubuntu-latest, 3.11ubuntu-latest, 3.10.15The Intel job has the same counts as
macos-latest, which still installs ffmpeg, so skipping it doesn't change which tests run on Mac.Related
ubuntu-latest, 3.10.15failed atSet up Pythonupstream (#206, with a fix in #207) but passed in my fork runs, so that failure may depend on which runner image a job gets. If it fails here, fail-fast will cancel the other jobs, so this PR may need #207 to show green.