mirror of
https://github.com/moparisthebest/curl
synced 2025-03-03 02:41:59 -05:00
travis: add a rustls build
... that doesn't run any tests (yet) Closes #6750
This commit is contained in:
parent
aab3a77e8c
commit
7dbb0a87e6
10
.travis.yml
10
.travis.yml
@ -124,6 +124,16 @@ jobs:
|
|||||||
- libpsl-dev
|
- libpsl-dev
|
||||||
- libbrotli-dev
|
- libbrotli-dev
|
||||||
- libzstd-dev
|
- libzstd-dev
|
||||||
|
- env:
|
||||||
|
- T=debug RUSTLS="yes" C="--with-rustls=$HOME/crust --without-ssl" NOTESTS=1
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
<<: *common_apt
|
||||||
|
packages:
|
||||||
|
- *common_packages
|
||||||
|
- libpsl-dev
|
||||||
|
- libbrotli-dev
|
||||||
|
- libzstd-dev
|
||||||
- env:
|
- env:
|
||||||
- T=novalgrind LIBRESSL=yes C="--with-ssl=$HOME/libressl" LD_LIBRARY_PATH=/home/travis/libressl/lib:/usr/local/lib
|
- T=novalgrind LIBRESSL=yes C="--with-ssl=$HOME/libressl" LD_LIBRARY_PATH=/home/travis/libressl/lib:/usr/local/lib
|
||||||
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
||||||
|
@ -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/
|
ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) deps/boringssl/src/lib/
|
||||||
fi
|
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.
|
# Install common libraries.
|
||||||
# The library build directories are set to be cached by .travis.yml. If you are
|
# 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
|
# changing a build directory name below (eg a version change) then you must
|
||||||
|
Loading…
x
Reference in New Issue
Block a user