Skip to content

Commit

Permalink
Run tests with optional features
Browse files Browse the repository at this point in the history
  • Loading branch information
heeckhau committed Jul 19, 2023
1 parent 86f1687 commit 557eac3
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,25 @@ jobs:
components: rustfmt

- name: "Check formatting"
run: cargo +nightly fmt --check --all
run: cargo +nightly fmt --check --all

features:
name: Test optional features
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Nightly
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly

- name: "Run tests with simd-transpose"
run: cargo +nightly test --lib --bins --tests --examples --workspace --features simd-transpose

- name: "Run tests with force-soft"
run: cargo +nightly test --lib --bins --tests --examples --workspace --features force-soft

- name: "Run tests with all-features"
run: cargo +nightly test --lib --bins --tests --examples --workspace --all-features

0 comments on commit 557eac3

Please sign in to comment.