2023-02-05 13:16:55 +01:00
|
|
|
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:
|
2024-11-16 03:10:57 +01:00
|
|
|
- uses: actions/checkout@v4
|
2023-02-05 13:16:55 +01:00
|
|
|
- uses: dtolnay/rust-toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: stable
|
|
|
|
- uses: taiki-e/install-action@v2
|
|
|
|
with:
|
|
|
|
tool: cargo-hack@0.5.25
|
2023-02-05 13:22:44 +01:00
|
|
|
- run: cargo hack check --feature-powerset --depth ${{ inputs.depth }} --no-dev-deps --exclude-features "$FEATURE_EXCLUDE"
|
2023-02-05 13:16:55 +01:00
|
|
|
env:
|
|
|
|
FEATURE_EXCLUDE: "no_std stdweb wasm-bindgen f32_float only_i32 unicode-xid-ident bin-features"
|