diff options
| author | rsdy <[email protected]> | 2021-10-08 11:51:18 +0100 |
|---|---|---|
| committer | rsdy <[email protected]> | 2021-10-08 11:51:18 +0100 |
| commit | faddc5af5ce9db25a21a3041fd4c5df63f49c875 (patch) | |
| tree | 29c3bb9b8b21c37161a31b4dd8b4cbcad1cc4bfb | |
| parent | 20fd56ac0fe8c5f824cb7ce0375c6a63102a1ff1 (diff) | |
Add no_neon feature tests to CI
| -rw-r--r-- | .github/workflows/ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ce4b59..a7641de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -149,12 +149,17 @@ jobs: # Test the NEON implementation on ARM targets. - run: cross test --target ${{ matrix.arch }} --features=neon if: startsWith(matrix.arch, 'armv7-') || startsWith(matrix.arch, 'aarch64-') + # NEON is enabled by default on aarch64, disabling it through the no_neon feature. + - run: cross test --target ${{ matrix.arch }} --features=no_neon + if: startsWith(matrix.arch, 'aarch64-') # Test vectors. Note that this uses a hacky script due to path dependency limitations. - run: ./test_vectors/cross_test.sh --target ${{ matrix.arch }} # C code. Same issue with the hacky script. - run: ./c/blake3_c_rust_bindings/cross_test.sh --target ${{ matrix.arch }} - run: ./c/blake3_c_rust_bindings/cross_test.sh --target ${{ matrix.arch }} --features=neon if: startsWith(matrix.arch, 'armv7-') || startsWith(matrix.arch, 'aarch64-') + - run: ./c/blake3_c_rust_bindings/cross_test.sh --target ${{ matrix.arch }} --features=no_neon + if: startsWith(matrix.arch, 'aarch64-') # Currently only on x86. c_tests: |
