@@ -44,25 +44,29 @@ jobs:
4444 for features in "" "--features std" "--features public_imp" "--features std,public_imp"; do
4545 cargo clean; cargo test --release --no-default-features $features --all-targets --verbose
4646 done
47- - name : Run with SSE4.2 + AVX2 target features
47+ - name : Run with SSE4.2 + AVX2 target features, all native CPU features
4848 run : |
4949 for features in "" "--features std" "--features public_imp" "--features std,public_imp"; do
5050 cargo clean
5151 RUSTFLAGS="-D warnings -C target-feature=+sse4.2" cargo test --release --no-default-features $features --all-targets --verbose
5252 cargo clean
5353 RUSTFLAGS="-D warnings -C target-feature=+avx2" cargo test --release --no-default-features $features --all-targets --verbose
54+ cargo clean
55+ RUSTFLAGS="-D warnings -C target-cpu=native" cargo test --release --no-default-features $features --all-targets --verbose
5456 done
5557 shell : bash
5658 if : ${{ matrix.os != 'macos-latest'}}
5759 - name : Run tests with all features on nightly
5860 run : cargo test --release --all-features --all-targets --verbose
5961 if : ${{ matrix.toolchain == 'nightly'}}
60- - name : Run test with all features and with SSE4.2 + AVX2 target features on nightly
62+ - name : Run test with all features and with SSE4.2 + AVX2 target features, all native CPU features on nightly
6163 run : |
6264 cargo clean
6365 RUSTFLAGS="-D warnings -C target-feature=+sse4.2" cargo test --release --all-features --all-targets --verbose
6466 cargo clean
6567 RUSTFLAGS="-D warnings -C target-feature=+avx2" cargo test --release --all-features --all-targets --verbose
68+ cargo clean
69+ RUSTFLAGS="-D warnings -C target-cpu=native" cargo test --release --all-features --all-targets --verbose
6670 shell : bash
6771 if : ${{ matrix.os != 'macos-latest' && matrix.toolchain == 'nightly' }}
6872
@@ -88,24 +92,28 @@ jobs:
8892 for features in "" "--features std" "--features public_imp" "--features std,public_imp"; do
8993 cargo clean; cargo test --release --no-default-features $features --all-targets --verbose
9094 done
91- - name : Run with SSE4.2 + AVX2 target features
95+ - name : Run with SSE4.2 + AVX2 target features, all native CPU features
9296 run : |
9397 for features in "" "--features std" "--features public_imp" "--features std,public_imp"; do
9498 cargo clean
9599 RUSTFLAGS="-D warnings -C target-feature=+sse4.2" cargo test --release --no-default-features $features --all-targets --verbose
96100 cargo clean
97101 RUSTFLAGS="-D warnings -C target-feature=+avx2" cargo test --release --no-default-features $features --all-targets --verbose
102+ cargo clean
103+ RUSTFLAGS="-D warnings -C target-cpu=native" cargo test --release --no-default-features $features --all-targets --verbose
98104 done
99105 shell : bash
100106 - name : Run tests with all features on nightly
101107 run : cargo test --release --all-features --all-targets --verbose
102108 if : ${{ matrix.toolchain == 'nightly'}}
103- - name : Run test with all features and with SSE4.2 + AVX2 target features on nightly
109+ - name : Run test with all features and with SSE4.2 + AVX2 target features, all native CPU features on nightly
104110 run : |
105111 cargo clean
106112 RUSTFLAGS="-D warnings -C target-feature=+sse4.2" cargo test --release --all-features --all-targets --verbose
107113 cargo clean
108114 RUSTFLAGS="-D warnings -C target-feature=+avx2" cargo test --release --all-features --all-targets --verbose
115+ cargo clean
116+ RUSTFLAGS="-D warnings -C target-cpu=native" cargo test --release --all-features --all-targets --verbose
109117 shell : bash
110118 if : ${{ matrix.toolchain == 'nightly' }}
111119
0 commit comments