-
Notifications
You must be signed in to change notification settings - Fork 74
Make ffmpeg build workflow execute when script changes #313
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,9 @@ name: Build non-GPL FFmpeg from source | |
|
|
||
| on: | ||
| workflow_dispatch: | ||
| pull_request: | ||
| paths: | ||
| - packaging/build_ffmpeg.sh | ||
| schedule: | ||
| - cron: '0 0 * * 0' # on sunday | ||
|
|
||
|
|
@@ -46,13 +49,12 @@ jobs: | |
| fail-fast: false | ||
| matrix: | ||
| ffmpeg-version: ["4.4.4", "5.1.4", "6.1.1", "7.0.1"] | ||
| runner: ["macos-m1-stable"] | ||
| 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 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Q - what's the reason for changing the worker?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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/ |
||
| script: | | ||
| export FFMPEG_VERSION="${{ matrix.ffmpeg-version }}" | ||
| export FFMPEG_ROOT="${PWD}/ffmpeg" | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.