Skip to content

programmatic video rendering framework that is actually fast

ci: pin a month-end FFmpeg 9.0 build on Windows (#279)

Silouan Wrightcda70a44d97b
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 0894b7e5..fd1890e9 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -340,7 +340,10 @@ jobs:
CARGO_PROFILE_TEST_DEBUG: 0
# Windows links a prebuilt FFmpeg instead of compiling it (see README). The
# examples are built by the e2e job.
- FFMPEG_BUILD: ffmpeg-n9.0-latest-win64-gpl-shared-9.0
+ # A month-end FFmpeg-Builds release: "latest" drops old versions (9.0 went on Nov 27),
+ # while month-end releases are kept. 9.1 headers do not generate bindings yet.
+ FFMPEG_RELEASE: autobuild-2026-10-31-12-59
+ FFMPEG_BUILD: ffmpeg-n9.0.2-39-g7adfbe40dc-win64-gpl-shared-9.0
PACKAGES: -p fframes -p fframes-media -p webvtt-parser -p fframes-media-dir-macro -p svgr-macro -p e2e-tests
steps:
- name: Checkout
@@ -350,7 +353,7 @@ jobs:
run: |
TMP_DIR="$(cygpath -u "$RUNNER_TEMP")"
curl -fsSL -o "$TMP_DIR/ffmpeg.zip" \
- "https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/$FFMPEG_BUILD.zip"
+ "https://github.com/BtbN/FFmpeg-Builds/releases/download/$FFMPEG_RELEASE/$FFMPEG_BUILD.zip"
7z x "$TMP_DIR/ffmpeg.zip" -o"$TMP_DIR" > /dev/null
FFMPEG_DIR="$(cygpath -w "$TMP_DIR/$FFMPEG_BUILD")"
echo "FFMPEG_DIR=$FFMPEG_DIR" >> "$GITHUB_ENV"
@@ -410,11 +413,12 @@ jobs:
- name: Install FFmpeg 9
if: runner.os == 'Windows'
env:
- FFMPEG_BUILD: ffmpeg-n9.0-latest-win64-gpl-shared-9.0
+ FFMPEG_RELEASE: autobuild-2026-10-31-12-59
+ FFMPEG_BUILD: ffmpeg-n9.0.2-39-g7adfbe40dc-win64-gpl-shared-9.0
run: |
TMP_DIR="$(cygpath -u "$RUNNER_TEMP")"
curl -fsSL -o "$TMP_DIR/ffmpeg.zip" \
- "https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/$FFMPEG_BUILD.zip"
+ "https://github.com/BtbN/FFmpeg-Builds/releases/download/$FFMPEG_RELEASE/$FFMPEG_BUILD.zip"
7z x "$TMP_DIR/ffmpeg.zip" -o"$TMP_DIR" > /dev/null
FFMPEG_DIR="$(cygpath -w "$TMP_DIR/$FFMPEG_BUILD")"
echo "FFMPEG_DIR=$FFMPEG_DIR" >> "$GITHUB_ENV"