Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ffmpeg build workflow execute when script changes #313

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

scotts
Copy link
Contributor

@scotts scotts commented Oct 28, 2024

Before this, we were hacking the workflow definition to execute on a PR to test it. We don't want this running on every PR, because that would be wasteful and noisy. But we can easily make it run when the FFMpeg building script has changed, which is what we wanted before.

Previous versions of this PR had a trivial change to trigger CI. One of those runs: https://github.com/pytorch/torchcodec/actions/runs/11560100235?pr=313. The current one does not have that trivial change to the script, and the test does not run.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 28, 2024
@scotts scotts force-pushed the ffmpeg_build branch 2 times, most recently from 00ef15d to 6823d64 Compare October 28, 2024 18:19
@scotts scotts marked this pull request as ready for review October 28, 2024 18:24
Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving to unblock but let's make sure we can still trigger it manually (we can merge the PR now and then verify and fix later if needed)

.github/workflows/build_ffmpeg.yaml Show resolved Hide resolved
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
with:
job-name: Build
upload-artifact: ffmpeg-lgpl
repository: pytorch/torchcodec
runner: "${{ matrix.runner }}"
runner: macos-14-xlarge
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q - what's the reason for changing the worker?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid the long macos-m1-stable queue. This is a GitHub hosted runner that seems to get a worker faster. I have a lot of difficulty getting a straight-forward answer to what Mac runners are arm64 versus x86, but this blog post indicates that macos-14-xlarge is arm64 (M1): https://github.blog/news-insights/product-news/introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/

@scotts scotts merged commit f080d84 into pytorch:main Oct 28, 2024
40 checks passed
@scotts scotts deleted the ffmpeg_build branch October 28, 2024 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants