From 65e7b8beb6e142b72a281499339206df2878f9b0 Mon Sep 17 00:00:00 2001 From: eladyn Date: Sat, 8 Mar 2025 00:17:23 +0100 Subject: [PATCH] cd: drop portaudio from linux backends in full --- .github/workflows/cd.yml | 8 ++------ docs/src/installation/README.md | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e7a9379e..90ab3ff2 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 @@ -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 == '' diff --git a/docs/src/installation/README.md b/docs/src/installation/README.md index f83a6eba..89ec672b 100644 --- a/docs/src/installation/README.md +++ b/docs/src/installation/README.md @@ -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.