CI: simplify cargo hack check

This commit is contained in:
Paul Dicker 2024-04-02 14:23:17 +02:00 committed by Paul Dicker
parent 4741338ad2
commit 332be72d1d

View File

@ -77,9 +77,8 @@ jobs:
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
- run: |
cargo hack check --feature-powerset --optional-deps arbitrary,serde \
--skip __internal_bench,iana-time-zone,oldtime,pure-rust-locales,libc,winapi,rkyv-validation,wasmbind \
--mutually-exclusive-features arbitrary,rkyv,rkyv-16,rkyv-32,rkyv-64,serde \
cargo hack check --feature-powerset --skip rkyv-validation,wasmbind \
--mutually-exclusive-features arbitrary,rkyv-16,rkyv-32,rkyv-64,serde \
--all-targets
# run using `bash` on all platforms for consistent
# line-continuation marks