From 853d85e394ca4a9217ddccf5cedef7274b331a66 Mon Sep 17 00:00:00 2001 From: Ivan Date: Sun, 19 Apr 2026 13:19:23 -0500 Subject: [PATCH] fix(ci): install libopus and libogg on Linux runners to prevent Opus encode test failures --- scripts/ci/github-install-deps.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/ci/github-install-deps.sh b/scripts/ci/github-install-deps.sh index e351914..599eed9 100755 --- a/scripts/ci/github-install-deps.sh +++ b/scripts/ci/github-install-deps.sh @@ -26,5 +26,13 @@ if [[ "$(uname -s)" == "Darwin" ]]; then fi fi +# LXST/pyogg loads libopus (and libogg for Ogg muxing) at runtime. GitHub-hosted +# Linux runners do not ship these by default, so backend Opus encode tests fail +# with PyOggError until the shared libraries are present. +if [[ "$(uname -s)" == "Linux" ]] && command -v apt-get >/dev/null 2>&1; then + sudo apt-get update -y + sudo apt-get install -y libopus0 libogg0 +fi + python -m poetry install --no-interaction --no-ansi pnpm install --frozen-lockfile