Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,29 @@ jobs:
for features in "" "--features std" "--features public_imp" "--features std,public_imp"; do
cargo clean; cargo test --release --no-default-features $features --all-targets --verbose
done
- name: Run with SSE4.2 + AVX2 target features
- name: Run with SSE4.2 + AVX2 target features, all native CPU features
run: |
for features in "" "--features std" "--features public_imp" "--features std,public_imp"; do
cargo clean
RUSTFLAGS="-D warnings -C target-feature=+sse4.2" cargo test --release --no-default-features $features --all-targets --verbose
cargo clean
RUSTFLAGS="-D warnings -C target-feature=+avx2" cargo test --release --no-default-features $features --all-targets --verbose
cargo clean
RUSTFLAGS="-D warnings -C target-cpu=native" cargo test --release --no-default-features $features --all-targets --verbose
done
shell: bash
if: ${{ matrix.os != 'macos-latest'}}
- name: Run tests with all features on nightly
run: cargo test --release --all-features --all-targets --verbose
if: ${{ matrix.toolchain == 'nightly'}}
- name: Run test with all features and with SSE4.2 + AVX2 target features on nightly
- name: Run test with all features and with SSE4.2 + AVX2 target features, all native CPU features on nightly
run: |
cargo clean
RUSTFLAGS="-D warnings -C target-feature=+sse4.2" cargo test --release --all-features --all-targets --verbose
cargo clean
RUSTFLAGS="-D warnings -C target-feature=+avx2" cargo test --release --all-features --all-targets --verbose
cargo clean
RUSTFLAGS="-D warnings -C target-cpu=native" cargo test --release --all-features --all-targets --verbose
shell: bash
if: ${{ matrix.os != 'macos-latest' && matrix.toolchain == 'nightly' }}

Expand All @@ -88,24 +92,28 @@ jobs:
for features in "" "--features std" "--features public_imp" "--features std,public_imp"; do
cargo clean; cargo test --release --no-default-features $features --all-targets --verbose
done
- name: Run with SSE4.2 + AVX2 target features
- name: Run with SSE4.2 + AVX2 target features, all native CPU features
run: |
for features in "" "--features std" "--features public_imp" "--features std,public_imp"; do
cargo clean
RUSTFLAGS="-D warnings -C target-feature=+sse4.2" cargo test --release --no-default-features $features --all-targets --verbose
cargo clean
RUSTFLAGS="-D warnings -C target-feature=+avx2" cargo test --release --no-default-features $features --all-targets --verbose
cargo clean
RUSTFLAGS="-D warnings -C target-cpu=native" cargo test --release --no-default-features $features --all-targets --verbose
done
shell: bash
- name: Run tests with all features on nightly
run: cargo test --release --all-features --all-targets --verbose
if: ${{ matrix.toolchain == 'nightly'}}
- name: Run test with all features and with SSE4.2 + AVX2 target features on nightly
- name: Run test with all features and with SSE4.2 + AVX2 target features, all native CPU features on nightly
run: |
cargo clean
RUSTFLAGS="-D warnings -C target-feature=+sse4.2" cargo test --release --all-features --all-targets --verbose
cargo clean
RUSTFLAGS="-D warnings -C target-feature=+avx2" cargo test --release --all-features --all-targets --verbose
cargo clean
RUSTFLAGS="-D warnings -C target-cpu=native" cargo test --release --all-features --all-targets --verbose
shell: bash
if: ${{ matrix.toolchain == 'nightly' }}

Expand Down