Skip to content

Commit bc218b2

Browse files
committed
run tests for specialized sse paths
1 parent 98acf15 commit bc218b2

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/rust.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,17 @@ jobs:
5656
CARGO_TARGET_WASM32_WASIP1_RUNNER: wasmtime run --dir .
5757
run: cargo test --target ${{ matrix.rust.target }} --all-features
5858

59-
- name: Build the crate with SSE4.1 (the "native" of CI will be above this)
59+
- name: Test the crate with SSE4.1 (the "native" of CI will be above this)
6060
if: matrix.rust.os == 'ubuntu-latest' && matrix.rust.target == 'x86_64-unknown-linux-gnu'
61-
run: RUSTFLAGS="-Ctarget-feature=+sse4.1" cargo build --target ${{ matrix.rust.target }}
61+
run: RUSTFLAGS="-Ctarget-feature=+sse4.1" cargo test --target ${{ matrix.rust.target }} --all-features
62+
63+
- name: Test the crate with SSE4.2 (the "native" of CI will be above this)
64+
if: matrix.rust.os == 'ubuntu-latest' && matrix.rust.target == 'x86_64-unknown-linux-gnu'
65+
run: RUSTFLAGS="-Ctarget-feature=+sse4.2" cargo test --target ${{ matrix.rust.target }} --all-features
66+
67+
- name: Test the crate with SSSE3 (the "native" of CI will be above this)
68+
if: matrix.rust.os == 'ubuntu-latest' && matrix.rust.target == 'x86_64-unknown-linux-gnu'
69+
run: RUSTFLAGS="-Ctarget-feature=+ssse3" cargo test --target ${{ matrix.rust.target }} --all-features
6270

6371
- name: switch over to native cpu features
6472
if: matrix.rust.target != 'wasm32-wasip1'

0 commit comments

Comments
 (0)