diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ca9cc4f4..bf2dc631 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -50,4 +50,25 @@ jobs: components: rustfmt - name: "Check formatting" - run: cargo +nightly fmt --check --all \ No newline at end of file + 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 test --lib --bins --tests --examples --workspace --features simd-transpose + + - name: "Run tests with force-soft" + run: cargo test --lib --bins --tests --examples --workspace --features force-soft + + - name: "Run tests with all-features" + run: cargo test --lib --bins --tests --examples --workspace --all-features \ No newline at end of file