1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-05-13 07:26:15 +02:00

add a RAYON_NUM_THREADS=1 run to CI

This commit is contained in:
Jack O'Connor 2022-01-18 13:58:52 -05:00
parent 4056af6d7f
commit 1631016b86

View File

@ -44,6 +44,11 @@ jobs:
working-directory: ./tools/instruction_set_support
# Default tests plus Rayon and RustCrypto trait implementations.
- run: cargo test --features=rayon,traits-preview
# Same but with only one thread in the Rayon pool. This can find deadlocks.
- name: "again with RAYON_NUM_THREADS=1"
run: cargo test --features=rayon,traits-preview
env:
RAYON_NUM_THREADS: 1
# no_std tests.
- run: cargo test --no-default-features