Skip to content

Commit cfa5b5f

Browse files
committed
ci: make clippy test the "snd" feature too
Also, group features from the same scope in the same run. Signed-off-by: Sergio Lopez <[email protected]>
1 parent 1419060 commit cfa5b5f

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.github/workflows/code_quality-aarch64.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
components: rustfmt, clippy
2525

2626
- name: Install packages
27-
run: sudo apt-get update && sudo apt-get install -y libvirglrenderer-dev libepoxy-dev libdrm-dev
27+
run: sudo apt-get update && sudo apt-get install -y libvirglrenderer-dev libepoxy-dev libdrm-dev libpipewire-0.3-dev
2828

2929
- name: Create a fake init
3030
run: touch init/init
@@ -35,8 +35,5 @@ jobs:
3535
- name: Clippy (default features)
3636
run: cargo clippy -- -D warnings
3737

38-
- name: Clippy (net feature)
39-
run: cargo clippy --features net -- -D warnings
40-
41-
- name: Clippy (blk+gpu feature)
42-
run: cargo clippy --features blk,gpu -- -D warnings
38+
- name: Clippy (net+blk+gpu+snd features)
39+
run: cargo clippy --features net,blk,gpu,snd -- -D warnings

.github/workflows/code_quality-x86_64.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
components: rustfmt, clippy
2525

2626
- name: Install packages
27-
run: sudo apt-get update && sudo apt-get install -y libvirglrenderer-dev libepoxy-dev libdrm-dev
27+
run: sudo apt-get update && sudo apt-get install -y libvirglrenderer-dev libepoxy-dev libdrm-dev libpipewire-0.3-dev
2828

2929
- name: Create a fake init
3030
run: touch init/init
@@ -38,8 +38,5 @@ jobs:
3838
- name: Clippy (amd-sev feature)
3939
run: cargo clippy --features amd-sev -- -D warnings
4040

41-
- name: Clippy (net feature)
42-
run: cargo clippy --features net -- -D warnings
43-
44-
- name: Clippy (blk+gpu feature)
45-
run: cargo clippy --features blk,gpu -- -D warnings
41+
- name: Clippy (net+blk+gpu+snd features)
42+
run: cargo clippy --features net,blk,gpu,snd -- -D warnings

0 commit comments

Comments
 (0)