Skip to content

Commit e5cba45

Browse files
committed
Add ffmpeg-latest.json
So no one forgets to update tests.yml in the future
1 parent 7de657a commit e5cba45

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.github/workflows/smoke.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
config:
37-
- {os: ubuntu-24.04, python: "3.12", ffmpeg: "8.0", extras: true}
38-
- {os: ubuntu-24.04, python: "pypy3.10", ffmpeg: "8.0"}
39-
- {os: macos-14, python: "3.9", ffmpeg: "8.0"}
37+
- {os: ubuntu-24.04, python: "3.12", ffmpeg: "latest", extras: true}
38+
- {os: ubuntu-24.04, python: "pypy3.10", ffmpeg: "latest"}
39+
- {os: macos-14, python: "3.9", ffmpeg: "latest"}
4040

4141
env:
4242
PYAV_PYTHON: python${{ matrix.config.python }}
@@ -109,7 +109,7 @@ jobs:
109109
fail-fast: false
110110
matrix:
111111
config:
112-
- {os: windows-latest, python: "3.9", ffmpeg: "8.0"}
112+
- {os: windows-latest, python: "3.9", ffmpeg: "latest"}
113113

114114
steps:
115115
- name: Checkout

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Build source package
1515
run: |
1616
pip install -U --pre cython setuptools
17-
python scripts/fetch-vendor.py --config-file scripts/ffmpeg-7.1.json /tmp/vendor
17+
python scripts/fetch-vendor.py --config-file scripts/ffmpeg-latest.json /tmp/vendor
1818
PKG_CONFIG_PATH=/tmp/vendor/lib/pkgconfig python setup.py sdist
1919
- name: Upload source package
2020
uses: actions/upload-artifact@v4
@@ -55,9 +55,9 @@ jobs:
5555
- name: Build wheels
5656
env:
5757
CIBW_ARCHS: ${{ matrix.arch }}
58-
CIBW_BEFORE_BUILD: python scripts/fetch-vendor.py --config-file scripts/ffmpeg-7.1.json /tmp/vendor
59-
CIBW_BEFORE_BUILD_MACOS: python scripts/fetch-vendor.py --config-file scripts/ffmpeg-7.1.json /tmp/vendor
60-
CIBW_BEFORE_BUILD_WINDOWS: python scripts\fetch-vendor.py --config-file scripts\ffmpeg-7.1.json C:\cibw\vendor
58+
CIBW_BEFORE_BUILD: python scripts/fetch-vendor.py --config-file scripts/ffmpeg-latest.json /tmp/vendor
59+
CIBW_BEFORE_BUILD_MACOS: python scripts/fetch-vendor.py --config-file scripts/ffmpeg-latest.json /tmp/vendor
60+
CIBW_BEFORE_BUILD_WINDOWS: python scripts\fetch-vendor.py --config-file scripts\ffmpeg-latest.json C:\cibw\vendor
6161
CIBW_ENVIRONMENT_LINUX: LD_LIBRARY_PATH=/tmp/vendor/lib:$LD_LIBRARY_PATH PKG_CONFIG_PATH=/tmp/vendor/lib/pkgconfig
6262
CIBW_ENVIRONMENT_MACOS: PKG_CONFIG_PATH=/tmp/vendor/lib/pkgconfig LDFLAGS=-headerpad_max_install_names
6363
CIBW_ENVIRONMENT_WINDOWS: INCLUDE=C:\\cibw\\vendor\\include LIB=C:\\cibw\\vendor\\lib PYAV_SKIP_TESTS=unicode_filename

scripts/ffmpeg-latest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"url": "https://github.com/PyAV-Org/pyav-ffmpeg/releases/download/8.0-1/ffmpeg-{platform}.tar.gz"
3+
}

0 commit comments

Comments
 (0)