Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Sep 21, 2024
1 parent a0aeb71 commit 1771f92
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ concurrency:
cancel-in-progress: true

env:
CARGO_HACK_ARGS: --feature-powerset --exclude-features default --group-features base64,serde,serde_json,schemars,arbitrary,hex
CARGO_HACK_ARGS: --feature-powerset --exclude-features default --group-features base64,serde,serde_json,schemars,arbitrary,hex --skip "embedded_io"
EMBEDDED_IO_CARGO_HACK_ARGS: --feature-powerset --exclude-features default --skip "cli,std,base64,serde,serde_json,schemars,arbitrary,hex"

jobs:

Expand Down Expand Up @@ -90,6 +91,9 @@ jobs:
name: cargo-hack
version: 0.5.16
- run: cargo hack clippy $CARGO_HACK_ARGS --target ${{ matrix.sys.target }} --all-targets
# TODO: Features "std" and "embedded_io" cannot be enabled simultaneously.
# Is there a better solution to solve it?
- run: cargo hack clippy $EMBEDDED_IO_CARGO_HACK_ARGS --target ${{ matrix.sys.target }} --all-targets

test:
strategy:
Expand Down

0 comments on commit 1771f92

Please sign in to comment.