Skip to content

Commit

Permalink
ci: make clippy test the "snd" feature too
Browse files Browse the repository at this point in the history
Also, group features from the same scope in the same run.

Signed-off-by: Sergio Lopez <[email protected]>
  • Loading branch information
slp committed Jan 17, 2025
1 parent fab7ab8 commit 07d9c51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/code_quality-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
components: rustfmt, clippy

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

- name: Create a fake init
run: touch init/init
Expand All @@ -35,8 +35,5 @@ jobs:
- name: Clippy (default features)
run: cargo clippy -- -D warnings

- name: Clippy (net feature)
run: cargo clippy --features net -- -D warnings

- name: Clippy (blk+gpu feature)
run: cargo clippy --features blk,gpu -- -D warnings
- name: Clippy (net+blk+gpu+snd features)
run: cargo clippy --features net,blk,gpu,snd -- -D warnings
9 changes: 3 additions & 6 deletions .github/workflows/code_quality-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
components: rustfmt, clippy

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

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

- name: Clippy (net feature)
run: cargo clippy --features net -- -D warnings

- name: Clippy (blk+gpu feature)
run: cargo clippy --features blk,gpu -- -D warnings
- name: Clippy (net+blk+gpu+snd features)
run: cargo clippy --features net,blk,gpu,snd -- -D warnings

0 comments on commit 07d9c51

Please sign in to comment.