Skip to content

Commit 7698e85

Browse files
committed
Make ffmpeg build workflow execute when script changes
1 parent 59af4b7 commit 7698e85

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build_ffmpeg.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
name: Build non-GPL FFmpeg from source
1111

1212
on:
13-
workflow_dispatch:
13+
pull_request:
14+
paths:
15+
- packaging/build_ffmpeg.sh
1416
schedule:
1517
- cron: '0 0 * * 0' # on sunday
1618

@@ -46,13 +48,12 @@ jobs:
4648
fail-fast: false
4749
matrix:
4850
ffmpeg-version: ["4.4.4", "5.1.4", "6.1.1", "7.0.1"]
49-
runner: ["macos-m1-stable"]
5051
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
5152
with:
5253
job-name: Build
5354
upload-artifact: ffmpeg-lgpl
5455
repository: pytorch/torchcodec
55-
runner: "${{ matrix.runner }}"
56+
runner: macos-14-xlarge
5657
script: |
5758
export FFMPEG_VERSION="${{ matrix.ffmpeg-version }}"
5859
export FFMPEG_ROOT="${PWD}/ffmpeg"

0 commit comments

Comments
 (0)