diff options
| author | Jack O'Connor <[email protected]> | 2020-09-02 12:21:46 -0400 |
|---|---|---|
| committer | Jack O'Connor <[email protected]> | 2020-09-02 12:23:49 -0400 |
| commit | cc04130eaa67627abaf8c7d1fb7f1d3d35f659a2 (patch) | |
| tree | c0b05fc2e318b27ee1bfb9c118808e46a6898cb7 /.github | |
| parent | 38bf1cf3a07b4211650841f6429864a434bc5876 (diff) | |
cover the no_sse2 flags in CI testing
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04ecc30..f782e7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,6 +80,13 @@ jobs: - run: cargo test --features=no_avx512,no_avx2,no_sse41 --release - run: cargo test --features=no_avx512,no_avx2,no_sse41,prefer_intrinsics --release - run: cargo test --features=no_avx512,no_avx2,no_sse41,pure --release + # No SSE2 + - run: cargo test --features=no_avx512,no_avx2,no_sse41,no_sse2 + - run: cargo test --features=no_avx512,no_avx2,no_sse41,no_sse2,prefer_intrinsics + - run: cargo test --features=no_avx512,no_avx2,no_sse41,no_sse2,pure + - run: cargo test --features=no_avx512,no_avx2,no_sse41,no_sse2 --release + - run: cargo test --features=no_avx512,no_avx2,no_sse41,no_sse2,prefer_intrinsics --release + - run: cargo test --features=no_avx512,no_avx2,no_sse41,no_sse2,pure --release # Test benchmarks. RUSTC_BOOTSTRAP=1 lets this run on non-nightly toolchains. - run: cargo test --benches @@ -155,30 +162,38 @@ jobs: # Test the intrinsics-based implementations. - run: make -f Makefile.testing test working-directory: ./c + - run: make -f Makefile.testing clean && rm blake3_sse2.c + working-directory: ./c + - run: BLAKE3_NO_SSE2=1 make -f Makefile.testing test + working-directory: ./c - run: make -f Makefile.testing clean && rm blake3_sse41.c working-directory: ./c - - run: BLAKE3_NO_SSE41=1 make -f Makefile.testing test + - run: BLAKE3_NO_SSE2=1 BLAKE3_NO_SSE41=1 make -f Makefile.testing test working-directory: ./c - run: make -f Makefile.testing clean && rm blake3_avx2.c working-directory: ./c - - run: BLAKE3_NO_SSE41=1 BLAKE3_NO_AVX2=1 make -f Makefile.testing test + - run: BLAKE3_NO_SSE2=1 BLAKE3_NO_SSE41=1 BLAKE3_NO_AVX2=1 make -f Makefile.testing test working-directory: ./c - run: make -f Makefile.testing clean && rm blake3_avx512.c working-directory: ./c - - run: BLAKE3_NO_SSE41=1 BLAKE3_NO_AVX2=1 BLAKE3_NO_AVX512=1 make -f Makefile.testing test + - run: BLAKE3_NO_SSE2=1 BLAKE3_NO_SSE41=1 BLAKE3_NO_AVX2=1 BLAKE3_NO_AVX512=1 make -f Makefile.testing test working-directory: ./c # Test the assembly implementations. - run: make -f Makefile.testing test_asm working-directory: ./c + - run: make -f Makefile.testing clean && rm blake3_sse2_x86-64_unix.S + working-directory: ./c + - run: BLAKE3_NO_SSE2=1 make -f Makefile.testing test_asm + working-directory: ./c - run: make -f Makefile.testing clean && rm blake3_sse41_x86-64_unix.S working-directory: ./c - - run: BLAKE3_NO_SSE41=1 make -f Makefile.testing test_asm + - run: BLAKE3_NO_SSE2=1 BLAKE3_NO_SSE41=1 make -f Makefile.testing test_asm working-directory: ./c - run: make -f Makefile.testing clean && rm blake3_avx2_x86-64_unix.S working-directory: ./c - - run: BLAKE3_NO_SSE41=1 BLAKE3_NO_AVX2=1 make -f Makefile.testing test_asm + - run: BLAKE3_NO_SSE2=1 BLAKE3_NO_SSE41=1 BLAKE3_NO_AVX2=1 make -f Makefile.testing test_asm working-directory: ./c - run: make -f Makefile.testing clean && rm blake3_avx512_x86-64_unix.S working-directory: ./c - - run: BLAKE3_NO_SSE41=1 BLAKE3_NO_AVX2=1 BLAKE3_NO_AVX512=1 make -f Makefile.testing test_asm + - run: BLAKE3_NO_SSE2=1 BLAKE3_NO_SSE41=1 BLAKE3_NO_AVX2=1 BLAKE3_NO_AVX512=1 make -f Makefile.testing test_asm working-directory: ./c |
