Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,21 @@ jobs:
prefix-key: "rust-release-cli-${{ matrix.target }}"
shared-key: ${{ needs.prepare.outputs.cache_key }}

# =========================================================================
# Linux dependencies (required for alsa-sys crate)
# =========================================================================
- name: Install Linux dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libasound2-dev

# =========================================================================
# Static musl build setup (for portable Linux binaries)
# =========================================================================
- name: Install musl toolchain (x86_64 static)
if: matrix.target == 'x86_64-unknown-linux-musl'
run: |
sudo apt-get update
sudo apt-get install -y musl-tools musl-dev
# Verify musl-gcc is available
which musl-gcc
Expand All @@ -164,7 +172,6 @@ jobs:
- name: Install musl toolchain (aarch64 static)
if: matrix.target == 'aarch64-unknown-linux-musl'
run: |
sudo apt-get update
# For cross-compiling to aarch64-musl, we need the cross toolchain
sudo apt-get install -y musl-tools musl-dev gcc-aarch64-linux-gnu
# Install aarch64-linux-musl-gcc cross compiler
Expand Down