diff options
| author | Edward Thomson <ethomson@github.com> | 2016-07-22 17:45:03 -0400 |
|---|---|---|
| committer | Edward Thomson <ethomson@github.com> | 2016-10-01 19:01:39 -0500 |
| commit | 1db5e0276f9641e57744508e5e81356f804a9592 (patch) | |
| tree | 05d2342158c004c2635118e25ad6c5427b147ad3 | |
| parent | e9f10cdad1f513cb334f7534b3ea72a94431c95c (diff) | |
| download | libgit2-1db5e0276f9641e57744508e5e81356f804a9592.tar.gz | |
ci: install homebrew's zlib on mac
| -rwxr-xr-x | script/cibuild.sh | 4 | ||||
| -rwxr-xr-x | script/install-deps-osx.sh | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/script/cibuild.sh b/script/cibuild.sh index 00cde0ada..54b4f1b58 100755 --- a/script/cibuild.sh +++ b/script/cibuild.sh @@ -6,6 +6,10 @@ then exit $?; 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 cd _build # shellcheck disable=SC2086 diff --git a/script/install-deps-osx.sh b/script/install-deps-osx.sh index 5510379d4..da0672d2b 100755 --- a/script/install-deps-osx.sh +++ b/script/install-deps-osx.sh @@ -3,4 +3,5 @@ set -x brew update +brew install homebrew/dupes/zlib brew install libssh2 |
