mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-04-24 21:35:50 +00:00
fix(ci): install libopus and libogg on Linux runners to prevent Opus encode test failures
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user