Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Disable clippy + wasm in ci #1296

Merged
merged 1 commit into from
Oct 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 37 additions & 36 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 Expand Up @@ -231,22 +232,22 @@ jobs:
command: test
args: --manifest-path=docs/book_examples/Cargo.toml --no-run --target wasm32-unknown-unknown

# Clippy and build the special druid-web-examples package.
- name: cargo clippy druid-web-examples
uses: actions-rs/cargo@v1
with:
command: clippy
args: --manifest-path=druid/examples/web/Cargo.toml --target wasm32-unknown-unknown -- -D warnings
## Clippy and build the special druid-web-examples package.
#- name: cargo clippy druid-web-examples
#uses: actions-rs/cargo@v1
#with:
#command: clippy
#args: --manifest-path=druid/examples/web/Cargo.toml --target wasm32-unknown-unknown -- -D warnings

- name: wasm-pack build examples
run: wasm-pack build --dev --target web druid/examples/web

# Clippy and build the hello_web example
- name: cargo clippy hello_web example
uses: actions-rs/cargo@v1
with:
command: clippy
args: --manifest-path=druid/examples/hello_web/Cargo.toml --target wasm32-unknown-unknown -- -D warnings
## Clippy and build the hello_web example
#- name: cargo clippy hello_web example
#uses: actions-rs/cargo@v1
#with:
#command: clippy
#args: --manifest-path=druid/examples/hello_web/Cargo.toml --target wasm32-unknown-unknown -- -D warnings

- name: wasm-pack build hello_web example
run: wasm-pack build --dev --target web druid/examples/hello_web
Expand Down