Commit 1db5e027 by Edward Thomson

ci: install homebrew's zlib on mac

parent e9f10cda
...@@ -6,6 +6,10 @@ then ...@@ -6,6 +6,10 @@ then
exit $?; exit $?;
fi fi
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
export PKG_CONFIG_PATH=$(ls -d /usr/local/Cellar/zlib/*/lib/pkgconfig | paste -s -d':' -)
fi
mkdir _build mkdir _build
cd _build cd _build
# shellcheck disable=SC2086 # shellcheck disable=SC2086
......
...@@ -3,4 +3,5 @@ ...@@ -3,4 +3,5 @@
set -x set -x
brew update brew update
brew install homebrew/dupes/zlib
brew install libssh2 brew install libssh2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment