Skip to content

Commit f6ac1da

Browse files
author
Jethro Beekman
committed
Test release mode in CI
1 parent a4eb86b commit f6ac1da

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ct.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ export CC_aarch64_unknown_linux_musl=/tmp/aarch64-linux-musl-cross/bin/aarch64-l
2121
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=/tmp/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc
2222
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUNNER=qemu-aarch64
2323

24-
# Temporary workaround for MbedTLS 2.26.0 https://github.com/ARMmbed/mbedtls/pull/4237
25-
export CFLAGS_aarch64_unknown_linux_musl="-Wformat-truncation"
26-
2724
if [ "$TRAVIS_RUST_VERSION" == "stable" ] || [ "$TRAVIS_RUST_VERSION" == "beta" ] || [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
2825
# Install the rust toolchain
2926
rustup default $TRAVIS_RUST_VERSION
@@ -32,7 +29,7 @@ if [ "$TRAVIS_RUST_VERSION" == "stable" ] || [ "$TRAVIS_RUST_VERSION" == "beta"
3229
# The SGX target cannot be run under test like a ELF binary
3330
if [ "$TARGET" != "x86_64-fortanix-unknown-sgx" ]; then
3431
# make sure that explicitly providing the default target works
35-
cargo test --target $TARGET
32+
cargo test --target $TARGET --release
3633
cargo test --features pkcs12 --target $TARGET
3734
cargo test --features pkcs12_rc2 --target $TARGET
3835
cargo test --features dsa --target $TARGET

0 commit comments

Comments
 (0)