Only install curl when building openssl
This commit is contained in:
parent
58719820c0
commit
1f2716587a
|
|
@ -4,8 +4,6 @@ job: &JOB
|
||||||
- image: jimmycuadra/rust:1.19.0
|
- image: jimmycuadra/rust:1.19.0
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: apt-get update
|
|
||||||
- run: apt-get install -y curl
|
|
||||||
- run: ./test/add_target.sh
|
- run: ./test/add_target.sh
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: registry
|
key: registry
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,9 @@ if [ -d ~/openssl ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y --no-install-recommends curl
|
||||||
|
|
||||||
case "${LIBRARY}" in
|
case "${LIBRARY}" in
|
||||||
"libressl")
|
"libressl")
|
||||||
URL1="http://ftp3.usa.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${VERSION}.tar.gz"
|
URL1="http://ftp3.usa.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${VERSION}.tar.gz"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue