aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-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