Skip to content

ci: install libasound2-dev so the studio's audio backend builds on Linux - #184

Merged
LeadcodeDev merged 1 commit into
mainfrom
fix/ci-alsa-dependency
Aug 12, 2026
Merged

ci: install libasound2-dev so the studio's audio backend builds on Linux#184
LeadcodeDev merged 1 commit into
mainfrom
fix/ci-alsa-dependency

Conversation

@LeadcodeDev

Copy link
Copy Markdown
Owner

What

main has been red since #182. Preview audio added rodio, which pulls cpal, which needs ALSA's development headers on Linux:

The system library `alsa` required by crate `alsa-sys` was not found.

Both the clippy and test jobs fail at the build step, and every PR opened since inherits the failure — #183's checks are red for this reason and not for anything in its own diff.

Why it was missed

The change was verified on macOS, where cpal goes through CoreAudio and alsa-sys never enters the dependency graph. Local fmt/clippy/test were all green. Nothing in the local run could have caught it; the Linux runner is the only place this appears.

How

One package added to the apt-get install line already present in both jobs for the webkit/gtk/xdo dependencies the studio needs, with a comment saying what pulls it in.

After this merges, re-running #183's checks should clear them without a rebase — its build is evaluated against the updated base.

Preview audio (#182) added rodio, which pulls cpal, which needs ALSA's
development headers on Linux. The build was only ever checked on macOS, where
cpal goes through CoreAudio and alsa-sys never enters the graph — so main went
red on merge and every PR opened after it inherited the failure.

Same line as the webkit/gtk/xdo deps already there, in both jobs.
@LeadcodeDev LeadcodeDev self-assigned this Aug 12, 2026
@LeadcodeDev LeadcodeDev added the bug Something isn't working label Aug 12, 2026
@LeadcodeDev
LeadcodeDev merged commit e2ac6bd into main Aug 12, 2026
3 checks passed
@LeadcodeDev
LeadcodeDev deleted the fix/ci-alsa-dependency branch August 12, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant