Skip to content

Commit f080d84

Browse files
authored
Make ffmpeg build workflow execute when script changes (#313)
1 parent b942423 commit f080d84

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build_ffmpeg.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ name: Build non-GPL FFmpeg from source
1111

1212
on:
1313
workflow_dispatch:
14+
pull_request:
15+
paths:
16+
- packaging/build_ffmpeg.sh
1417
schedule:
1518
- cron: '0 0 * * 0' # on sunday
1619

@@ -46,13 +49,12 @@ jobs:
4649
fail-fast: false
4750
matrix:
4851
ffmpeg-version: ["4.4.4", "5.1.4", "6.1.1", "7.0.1"]
49-
runner: ["macos-m1-stable"]
5052
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
5153
with:
5254
job-name: Build
5355
upload-artifact: ffmpeg-lgpl
5456
repository: pytorch/torchcodec
55-
runner: "${{ matrix.runner }}"
57+
runner: macos-14-xlarge
5658
script: |
5759
export FFMPEG_VERSION="${{ matrix.ffmpeg-version }}"
5860
export FFMPEG_ROOT="${PWD}/ffmpeg"

0 commit comments

Comments
 (0)