feat<ci>: for a manual job for
This commit is contained in:
parent
c7355395c9
commit
933ffbc3fc
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -88,18 +88,6 @@ 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
|
||||
|
25
.github/workflows/ci.yaml
vendored
Normal file
25
.github/workflows/ci.yaml
vendored
Normal 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"
|
Loading…
Reference in New Issue
Block a user