File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -149,13 +149,21 @@ jobs:
149149 prefix-key : " rust-release-cli-${{ matrix.target }}"
150150 shared-key : ${{ needs.prepare.outputs.cache_key }}
151151
152+ # =========================================================================
153+ # Linux dependencies (required for alsa-sys crate)
154+ # =========================================================================
155+ - name : Install Linux dependencies
156+ if : runner.os == 'Linux'
157+ run : |
158+ sudo apt-get update
159+ sudo apt-get install -y libasound2-dev
160+
152161 # =========================================================================
153162 # Static musl build setup (for portable Linux binaries)
154163 # =========================================================================
155164 - name : Install musl toolchain (x86_64 static)
156165 if : matrix.target == 'x86_64-unknown-linux-musl'
157166 run : |
158- sudo apt-get update
159167 sudo apt-get install -y musl-tools musl-dev
160168 # Verify musl-gcc is available
161169 which musl-gcc
@@ -164,7 +172,6 @@ jobs:
164172 - name : Install musl toolchain (aarch64 static)
165173 if : matrix.target == 'aarch64-unknown-linux-musl'
166174 run : |
167- sudo apt-get update
168175 # For cross-compiling to aarch64-musl, we need the cross toolchain
169176 sudo apt-get install -y musl-tools musl-dev gcc-aarch64-linux-gnu
170177 # Install aarch64-linux-musl-gcc cross compiler
You can’t perform that action at this time.
0 commit comments