feat<ci>: add a feature powerset check

This commit is contained in:
Mathieu Lala 2023-01-14 13:58:51 +01:00
parent 4c2630b71f
commit c7355395c9
No known key found for this signature in database
GPG Key ID: C5D308ABEB84866F

View File

@ -88,6 +88,18 @@ jobs:
command: test
args: ${{matrix.flags}}
feature_powerset:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
- uses: taiki-e/install-action@v2
with:
tool: cargo-hack@0.5.25
- run: cargo hack check --feature-powerset --depth 2 --no-dev-deps --exclude-features "stdweb wasm-bindgen f32_float"
# no-std builds are a bit more extensive to test
no_std_build:
name: NoStdBuild