Skip to content

Commit

Permalink
cd: drop portaudio from linux backends in full
Browse files Browse the repository at this point in the history
  • Loading branch information
eladyn committed Mar 7, 2025
1 parent 4ed23c9 commit 65e7b8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
audio_backends: alsa_backend,pulseaudio_backend,rodio_backend
- os: linux
artifact_type: full
all_features: true
audio_backends: alsa_backend,pulseaudio_backend,rodio_backend,rodiojack_backend
# Audio backend configuration: macOS
- os: macos
audio_backends: portaudio_backend,rodio_backend
Expand Down Expand Up @@ -79,11 +79,7 @@ jobs:
sudo apt-get install -y portaudio19-dev
- name: Determine cargo args
run: |
if [ "${{ matrix.all_features }}" = "true" ]; then
features="--all-features"
else
features="--no-default-features --features ${{ matrix.dbus }},${{ matrix.audio_backends }}"
fi
features="--no-default-features --features ${{ matrix.dbus }},${{ matrix.audio_backends }}"
echo CARGO_ARGS="--locked --release $features" | tee -a "$GITHUB_ENV"
- name: Build (using cargo)
if: matrix.target == ''
Expand Down
2 changes: 1 addition & 1 deletion docs/src/installation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ and the platform architecture that they were built for. You can find the latest
**Feature Sets:**

- `full`: **all audio backends** and **MPRIS** support
- `default`: **one audio backend** (depending on your platform: PulseAudio, PortAudio, ALSA) and **MPRIS** support
- `default`: **some audio backends** (depending on your platform: PulseAudio, PortAudio, ALSA) and **MPRIS** support
- `slim`: **one audio backend** (depending on your platform) and **no MPRIS** support (good for headless systems)

If you're unsure which version to choose, just go for `default` on desktop systems and `slim` on headless systems.
Expand Down

0 comments on commit 65e7b8b

Please sign in to comment.