File tree Expand file tree Collapse file tree 4 files changed +31
-4
lines changed
Expand file tree Collapse file tree 4 files changed +31
-4
lines changed Original file line number Diff line number Diff line change @@ -89,14 +89,30 @@ jobs:
8989 cargo +nightly-2025-09-26 fmt --all --check
9090
9191 - name : Build workspace
92+ if : ${{ contains(matrix.features, 'lambda-rs/audio-output-device') }}
9293 run : cargo build --workspace --features ${{ matrix.features }}
9394
95+ - name : Build workspace (exclude audio tools)
96+ if : ${{ !contains(matrix.features, 'lambda-rs/audio-output-device') }}
97+ run : |
98+ cargo build --workspace \
99+ --exclude lambda-audio-tool \
100+ --features ${{ matrix.features }}
101+
94102 - name : Build examples (lambda-rs)
95103 run : cargo build -p lambda-rs --examples --features ${{ matrix.features }}
96104
97105 - name : Test workspace
106+ if : ${{ contains(matrix.features, 'lambda-rs/audio-output-device') }}
98107 run : cargo test --workspace --features ${{ matrix.features }}
99108
109+ - name : Test workspace (exclude audio tools)
110+ if : ${{ !contains(matrix.features, 'lambda-rs/audio-output-device') }}
111+ run : |
112+ cargo test --workspace \
113+ --exclude lambda-audio-tool \
114+ --features ${{ matrix.features }}
115+
100116 - uses : actions/setup-ruby@v1
101117 - name : Send Webhook Notification for build status.
102118 if : ${{ github.ref == 'refs/heads/main' }}
Original file line number Diff line number Diff line change 4141 - name : Install dependencies for converting clippy output to SARIF
4242 run : cargo install clippy-sarif sarif-fmt
4343
44+ - name : Install Linux deps for audio
45+ run : |
46+ sudo apt-get update
47+ sudo apt-get install -y libasound2-dev
48+
4449 - name : Check formatting
4550 run : |
4651 rustup component add rustfmt --toolchain nightly-2025-09-26
Original file line number Diff line number Diff line change @@ -60,10 +60,17 @@ jobs:
6060 run : cargo fmt --all -- --check
6161
6262 - name : Clippy
63- run : cargo clippy --workspace --all-targets -- -D warnings
63+ run : |
64+ cargo clippy --workspace \
65+ --exclude lambda-audio-tool \
66+ --all-targets \
67+ -- -D warnings
6468
6569 - name : Tests
66- run : cargo test --workspace -- --nocapture
70+ run : |
71+ cargo test --workspace \
72+ --exclude lambda-audio-tool \
73+ -- --nocapture
6774
6875 prepare_version :
6976 name : Prepare version, tag, push
@@ -221,7 +228,7 @@ jobs:
221228 shell : bash
222229 run : |
223230 set -euo pipefail
224- cargo build --workspace --release --bins
231+ cargo build --workspace --exclude lambda-audio-tool -- release --bins
225232
226233 - name : Stage files
227234 id : stage
Original file line number Diff line number Diff line change @@ -17,5 +17,4 @@ default-members = [
1717 " crates/lambda-rs-logging" ,
1818 " crates/lambda-rs-platform" ,
1919 " tools/obj_loader" ,
20- " tools/lambda_audio" ,
2120]
You can’t perform that action at this time.
0 commit comments