Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/build_ffmpeg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Copy link
Contributor

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/

script: |
export FFMPEG_VERSION="${{ matrix.ffmpeg-version }}"
export FFMPEG_ROOT="${PWD}/ffmpeg"
Expand Down
Loading