Skip to content

Commit 74ec0a7

Browse files
committed
[add] documentation to explain why the audio tool is excluded.
1 parent 37c8e04 commit 74ec0a7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,18 @@ jobs:
6262
- name: Clippy
6363
run: |
6464
cargo clippy --workspace \
65+
# Excluded in the release workflow to avoid pulling in Linux ALSA
66+
# build dependencies (`alsa-sys`) that are unnecessary for release
67+
# binaries. Audio/tool validation runs in the CI build matrix when
68+
# audio features are enabled.
6569
--exclude lambda-audio-tool \
6670
--all-targets \
6771
-- -D warnings
6872
6973
- name: Tests
7074
run: |
7175
cargo test --workspace \
76+
# See note above in the Clippy step.
7277
--exclude lambda-audio-tool \
7378
-- --nocapture
7479
@@ -228,6 +233,9 @@ jobs:
228233
shell: bash
229234
run: |
230235
set -euo pipefail
236+
# See note in the validate job: `lambda-audio-tool` is excluded here
237+
# to avoid Linux ALSA build dependencies that are unnecessary for
238+
# release artifacts.
231239
cargo build --workspace --exclude lambda-audio-tool --release --bins
232240
233241
- name: Stage files

0 commit comments

Comments
 (0)