File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 22set -e
33TARGET=" $( [ -n " $1 " ] && echo " --target $1 " || echo " " ) "
44
5- COMMON_FEATURES=" p256 xchachapoly vector-tests"
5+ COMMON_FEATURES=" use-p256 use-xchacha20poly1305 vector-tests"
6+ if ! rustc -vV | grep ' host: .*windows' & > /dev/null; then
7+ COMMON_FEATURES=" hfs use-pqcrypto-kyber1024 $COMMON_FEATURES "
8+ fi
69
710set -x
811cargo check --benches --tests --examples
9- cargo clippy --features " $COMMON_FEATURES "
12+ cargo clippy --features " $COMMON_FEATURES " -- -Dwarnings
1013cargo test $TARGET --no-default-features
1114# Custom set of crypto without std
1215cargo test $TARGET --no-default-features --features " default-resolver use-curve25519 use-blake2 use-chacha20poly1305"
1316# Custom set of crypto with std
1417cargo test $TARGET --no-default-features --features " default-resolver use-curve25519 use-sha2 use-chacha20poly1305"
1518cargo test $TARGET --features " ring-resolver $COMMON_FEATURES "
1619cargo test $TARGET --features " ring-accelerated $COMMON_FEATURES "
17- if ! rustc -vV | grep ' host: .*windows' & > /dev/null; then
18- cargo test $TARGET --features " hfs use-pqcrypto-kyber1024 $COMMON_FEATURES "
19- cargo test $TARGET --features " ring-resolver hfs use-pqcrypto-kyber1024 $COMMON_FEATURES "
20- fi
2120cargo test $TARGET --features " libsodium-resolver $COMMON_FEATURES "
2221cargo test $TARGET --features " libsodium-accelerated $COMMON_FEATURES "
You can’t perform that action at this time.
0 commit comments