From 3530b245f7a838c5eac4b25efc66b2748f1d51cb Mon Sep 17 00:00:00 2001 From: andreaonofrei01 Date: Tue, 20 Oct 2026 18:07:49 +0200 Subject: [PATCH] ci: install PortAudio before uv sync --all-extras pyaudio, in the voice-agents extra, has no Linux wheel and builds against portaudio.h, so uv sync --all-extras fails on ubuntu-latest without it. --- .github/workflows/lint_custom_code.yaml | 3 +++ .github/workflows/test_custom_code.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/lint_custom_code.yaml b/.github/workflows/lint_custom_code.yaml index da5204865..0967a2052 100644 --- a/.github/workflows/lint_custom_code.yaml +++ b/.github/workflows/lint_custom_code.yaml @@ -24,6 +24,9 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 + - name: Install PortAudio (pyaudio build dependency) + run: sudo apt-get update && sudo apt-get install -y --no-install-recommends portaudio19-dev + - name: Install dependencies run: | uv sync --all-extras diff --git a/.github/workflows/test_custom_code.yaml b/.github/workflows/test_custom_code.yaml index 33cc3d5a6..4d186cd55 100644 --- a/.github/workflows/test_custom_code.yaml +++ b/.github/workflows/test_custom_code.yaml @@ -25,6 +25,9 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 + - name: Install PortAudio (pyaudio build dependency) + run: sudo apt-get update && sudo apt-get install -y --no-install-recommends portaudio19-dev + - name: Install dependencies run: | uv sync --all-extras