diff --git a/ci/run.sh b/ci/run.sh index 6c2dae399..ff03e2884 100755 --- a/ci/run.sh +++ b/ci/run.sh @@ -6,7 +6,12 @@ cargo test --target $TARGET --no-run # First test with no extra protocols enabled. cargo test --target $TARGET --no-run --features static-curl # Then with rustls TLS backend. -cargo test --target $TARGET --no-run --features rustls,static-curl +# Note: Cross-compiling rustls on windows doesn't work due to requiring some +# NASM build stuff in aws_lc_rs. +if [ "$TARGET" != "x86_64-pc-windows-gnu" ] +then + cargo test --target $TARGET --no-run --features rustls,static-curl +fi # Then with all extra protocols enabled. cargo test --target $TARGET --no-run --features static-curl,protocol-ftp,ntlm if [ -z "$NO_RUN" ]; then