Skip to content

Commit edf16a6

Browse files
mxindenRalith
authored andcommitted
ci(rust.yml): add workflow testing feature permutations
1 parent a003e10 commit edf16a6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/rust.yml

+13
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,16 @@ jobs:
149149
api-level: ${{ matrix.api-level }}
150150
arch: ${{ matrix.emulator-arch }}
151151
script: .github/workflows/rust-android-run-tests-on-emulator.sh
152+
153+
features:
154+
strategy:
155+
matrix:
156+
os: [ubuntu-latest, macos-latest, windows-latest]
157+
runs-on: ${{ matrix.os }}
158+
env:
159+
RUSTFLAGS: -Dwarnings
160+
steps:
161+
- uses: actions/checkout@v4
162+
- uses: dtolnay/rust-toolchain@stable
163+
- uses: taiki-e/install-action@cargo-hack
164+
- run: cargo hack check --feature-powerset --optional-deps --no-dev-deps --ignore-unknown-features --ignore-private --group-features runtime-async-std,async-io,async-std --group-features runtime-smol,async-io,smol

0 commit comments

Comments
 (0)