summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJack O'Connor <oconnor663@gmail.com>2024-08-18 11:16:13 -0700
committerJack O'Connor <oconnor663@gmail.com>2024-08-18 11:32:23 -0700
commit5c4c351a1a0729f8e7a88e6895379bb952ed1a07 (patch)
treeae23751fbf5eaeaf394efd810fc578286022c722 /.github
parent4386d7f0baae5cf77e319f12256bd7c91fedc1ef (diff)
make xof_many fall back to compress_xof instead of portable code
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d7c5de4..b031602 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -126,6 +126,26 @@ jobs:
- name: cargo test C bindings intrinsics
run: cargo test --features=prefer_intrinsics
working-directory: ./c/blake3_c_rust_bindings
+ - name: cargo test C bindings no AVX-512
+ run: cargo test
+ working-directory: ./c/blake3_c_rust_bindings
+ env:
+ CFLAGS: -DBLAKE3_NO_AVX512
+ - name: cargo test C bindings no AVX2
+ run: cargo test
+ working-directory: ./c/blake3_c_rust_bindings
+ env:
+ CFLAGS: -DBLAKE3_NO_AVX512 -DBLAKE3_NO_AVX2
+ - name: cargo test C bindings no SSE41
+ run: cargo test
+ working-directory: ./c/blake3_c_rust_bindings
+ env:
+ CFLAGS: -DBLAKE3_NO_AVX512 -DBLAKE3_NO_AVX2 -DBLAKE3_NO_SSE41
+ - name: cargo test C bindings no SSE2
+ run: cargo test
+ working-directory: ./c/blake3_c_rust_bindings
+ env:
+ CFLAGS: -DBLAKE3_NO_AVX512 -DBLAKE3_NO_AVX2 -DBLAKE3_NO_SSE41 -DBLAKE3_NO_SSE2
# Reference impl doc test.
- name: reference impl doc test
run: cargo test