Skip to content

Commit

Permalink
ci: partly clean build artifacts to work around "Found multiple rlibs…
Browse files Browse the repository at this point in the history
… for crate `clippy_lints`" compiletest error
  • Loading branch information
matthiaskrgr committed Nov 13, 2020
1 parent 4148bb3 commit ba3f1ae
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/clippy_bors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,17 @@ jobs:
- name: Build
run: cargo build --features deny-warnings

- name: Test
# compiletest would panic due to "Found multiple rlibs for crate `clippy_lints`"
- name: clean rlibs
run: rm -f ./target/debug/deps/libclippy_lints*

- name: Build with internal lints
run: cargo build --features deny-warnings internal-lints

- name: Test with internal lints
run: cargo test --features deny-warnings --features internal-lints

- name: Test clippy_lints
- name: Test clippy_lints with internal lints
run: cargo test --features deny-warnings --features internal-lints
working-directory: clippy_lints

Expand Down

0 comments on commit ba3f1ae

Please sign in to comment.