Skip to content

Commit fd0fe05

Browse files
committed
On Linux CI, do cargo clippy after cargo build.
It's a bit weird to run clippy first, because vanilla compile errors show up in the clippy results.
1 parent c722bda commit fd0fe05

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci_linux.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,17 @@ jobs:
8080
- name: Rustfmt
8181
run: cargo fmt --all -- --check
8282

83-
- name: Clippy
84-
env:
85-
RUSTFLAGS: -Dwarnings
86-
run: cargo clippy --workspace --exclude "optix*" --exclude "path-tracer" --exclude "denoiser" --exclude "ex*" --exclude "cudnn*"
87-
8883
- name: Build all bindings
8984
run: cargo build --all-features -p cust_raw
9085

9186
- name: Build workspace
9287
run: cargo build --workspace --exclude "optix*" --exclude "path-tracer" --exclude "denoiser" --exclude "ex*" --exclude "cudnn*"
9388

89+
- name: Clippy
90+
env:
91+
RUSTFLAGS: -Dwarnings
92+
run: cargo clippy --workspace --exclude "optix*" --exclude "path-tracer" --exclude "denoiser" --exclude "ex*" --exclude "cudnn*"
93+
9494
- name: Check documentation
9595
env:
9696
RUSTDOCFLAGS: -Dwarnings

0 commit comments

Comments
 (0)