diff options
Diffstat (limited to '.github/setup_ci.sh')
-rwxr-xr-x | .github/setup_ci.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh index 154f51bdc205..010a333a6642 100755 --- a/.github/setup_ci.sh +++ b/.github/setup_ci.sh @@ -133,6 +133,8 @@ for TARGET in $TARGETS; do valgrind*) PACKAGES="$PACKAGES valgrind" ;; + zlib-*) + ;; *) echo "Invalid option '${TARGET}'" exit 1 ;; @@ -214,3 +216,9 @@ if [ ! -z "${INSTALL_BORINGSSL}" ]; then cp ${HOME}/boringssl/build/crypto/libcrypto.a /opt/boringssl/lib && cp -r ${HOME}/boringssl/include /opt/boringssl) fi + +if [ ! -z "${INSTALL_ZLIB}" ]; then + (cd ${HOME} && git clone https://github.com/madler/zlib.git && + cd ${HOME}/zlib && ./configure && make && + sudo make install prefix=/opt/zlib) +fi |