Skip to content

Commit

Permalink
[ci] Disable clippy + wasm in ci
Browse files Browse the repository at this point in the history
This will still the tests against wasm, but clippy is disabled
until further notice. This can be turned back on the next time
we get an update to cargo.

See rust-lang/rust-clippy#6140
  • Loading branch information
cmyr committed Oct 9, 2020
1 parent f22b911 commit 90e6f7d
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,30 +179,31 @@ jobs:
override: true

# Clippy wasm32 relevant packages in deeper-to-higher dependency order
- name: cargo clippy druid-shell
uses: actions-rs/cargo@v1
with:
command: clippy
args: --manifest-path=druid-shell/Cargo.toml --all-targets --target wasm32-unknown-unknown -- -D warnings

- name: cargo clippy druid
uses: actions-rs/cargo@v1
with:
command: clippy
# TODO: Add svg feature when it's no longer broken with wasm
args: --manifest-path=druid/Cargo.toml --all-targets --features=image,im --target wasm32-unknown-unknown -- -D warnings

- name: cargo clippy druid-derive
uses: actions-rs/cargo@v1
with:
command: clippy
args: --manifest-path=druid-derive/Cargo.toml --all-targets --target wasm32-unknown-unknown -- -D warnings

- name: cargo clippy book examples
uses: actions-rs/cargo@v1
with:
command: clippy
args: --manifest-path=docs/book_examples/Cargo.toml --all-targets --target wasm32-unknown-unknown -- -D warnings
# FIXME: reenable clippy when rustc >= 1.47.1
#- name: cargo clippy druid-shell (wasm)
#uses: actions-rs/cargo@v1
#with:
#command: clippy
#args: --manifest-path=druid-shell/Cargo.toml --all-targets --target wasm32-unknown-unknown -- -D warnings

#- name: cargo clippy druid (wasm)
#uses: actions-rs/cargo@v1
#with:
#command: clippy
## TODO: Add svg feature when it's no longer broken with wasm
#args: --manifest-path=druid/Cargo.toml --all-targets --features=image,im --target wasm32-unknown-unknown -- -D warnings

#- name: cargo clippy druid-derive (wasm)
#uses: actions-rs/cargo@v1
#with:
#command: clippy
#args: --manifest-path=druid-derive/Cargo.toml --all-targets --target wasm32-unknown-unknown -- -D warnings

#- name: cargo clippy book examples (wasm)
#uses: actions-rs/cargo@v1
#with:
#command: clippy
#args: --manifest-path=docs/book_examples/Cargo.toml --all-targets --target wasm32-unknown-unknown -- -D warnings

# Test wasm32 relevant packages in deeper-to-higher dependency order
# TODO: Find a way to make tests work. Until then the tests are merely compiled.
Expand Down

0 comments on commit 90e6f7d

Please sign in to comment.