From c7355395c9681bdd88db6b44ca99dbed1ef40c10 Mon Sep 17 00:00:00 2001 From: Mathieu Lala Date: Sat, 14 Jan 2023 13:58:51 +0100 Subject: [PATCH] feat: add a feature powerset check --- .github/workflows/build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7dabfb37..e11278fb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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