Merge pull request #691 from Mathieu-Lala/feat/more-ci

CI: add `cargo hack check --feature-powerset`
This commit is contained in:
Stephen Chung 2023-02-05 21:41:53 +08:00 committed by GitHub
commit 234bf76d0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

25
.github/workflows/ci.yaml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Manual CI
on:
workflow_dispatch:
inputs:
depth:
description: "Specify a max number of simultaneous feature flags"
required: true
type: string
default: "2"
jobs:
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 ${{ inputs.depth }} --no-dev-deps --exclude-features "$FEATURE_EXCLUDE"
env:
FEATURE_EXCLUDE: "no_std stdweb wasm-bindgen f32_float only_i32 unicode-xid-ident bin-features"