From b0d566f2d61c598d2058b79c6a5c4a1e37dc71f0 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 20 Mar 2026 23:08:38 -0700 Subject: [PATCH] Install ffmpeg on all CI runners for sidecar build pyannote.audio requires ffmpeg at import time (torchcodec loads FFmpeg shared libraries). Install via brew (macOS), apt (Linux), choco (Windows) before building the sidecar. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/build.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 2d996ab..4fbb6ce 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -54,6 +54,19 @@ jobs: echo "$env:USERPROFILE\.local\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append } + - name: Install ffmpeg (macOS) + if: matrix.platform == 'macos' + run: brew install ffmpeg + + - name: Install ffmpeg (Linux) + if: matrix.platform == 'linux' + run: sudo apt-get update && sudo apt-get install -y ffmpeg + + - name: Install ffmpeg (Windows) + if: matrix.platform == 'windows' + shell: powershell + run: choco install ffmpeg -y + - name: Set up Python (Unix) if: matrix.platform != 'windows' run: uv python install ${{ env.PYTHON_VERSION }}