travis: add a rustls build

... that doesn't run any tests (yet)

Closes #6750
This commit is contained in:
Daniel Stenberg 2021-03-16 09:51:17 +01:00
parent aab3a77e8c
commit 7dbb0a87e6
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 21 additions and 0 deletions

View file

@ -126,6 +126,17 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then
ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) deps/boringssl/src/lib/
fi
if [ "$TRAVIS_OS_NAME" = linux -a "$RUSTLS" ]; then
cd $HOME
git clone --depth=1 --recursive https://github.com/abetterinternet/crustls.git
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
cargo install cbindgen
cd $HOME/crustls
make
make DESTDIR=$HOME/crust install
fi
# Install common libraries.
# The library build directories are set to be cached by .travis.yml. If you are
# changing a build directory name below (eg a version change) then you must