Commit 9a952fea authored by Aryan Noshirvnai's avatar Aryan Noshirvnai

Fix CI: add xz-utils, needed to extract the static ffmpeg .tar.xz

python:3.10-slim has no xz binary by default (my local machine did, which
is why this got missed) - tar shells out to it for .tar.xz decompression
and failed with "xz: Cannot exec: No such file or directory". xz-utils is
tiny with almost no dependency tree, unlike ffmpeg's, so this doesn't
reintroduce the slowness being fixed.
Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
parent d7f43a66
Pipeline #1017 failed with stages
in 5 minutes and 9 seconds
...@@ -23,7 +23,7 @@ test: ...@@ -23,7 +23,7 @@ test:
# this project never uses (audio-only). A static, dependency-free ffmpeg build sidesteps # this project never uses (audio-only). A static, dependency-free ffmpeg build sidesteps
# apt/dpkg entirely - cached across runs so even the download only happens once. git isn't # apt/dpkg entirely - cached across runs so even the download only happens once. git isn't
# needed here at all (GitLab's own checkout doesn't use the job container's git). # needed here at all (GitLab's own checkout doesn't use the job container's git).
- apt-get update -qq && apt-get install -y -qq --no-install-recommends libsndfile1 curl ca-certificates - apt-get update -qq && apt-get install -y -qq --no-install-recommends libsndfile1 curl ca-certificates xz-utils
- | - |
if [ ! -x "$FFMPEG_CACHE_DIR/ffmpeg" ]; then if [ ! -x "$FFMPEG_CACHE_DIR/ffmpeg" ]; then
mkdir -p "$FFMPEG_CACHE_DIR" mkdir -p "$FFMPEG_CACHE_DIR"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment