summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vsts-ci.yml1
-rwxr-xr-xci/setup-macos.sh2
-rwxr-xr-xscript/install-deps-osx.sh2
3 files changed, 5 insertions, 0 deletions
diff --git a/.vsts-ci.yml b/.vsts-ci.yml
index 57e56b717..ace22f4ef 100644
--- a/.vsts-ci.yml
+++ b/.vsts-ci.yml
@@ -76,6 +76,7 @@ phases:
displayName: Test
env:
TMPDIR: $(Agent.TempDirectory)
+ LEAK_CHECK: leaks
- phase: windows_vs_amd64
displayName: 'Windows (Visual Studio; amd64)'
diff --git a/ci/setup-macos.sh b/ci/setup-macos.sh
index a90669185..564910e41 100755
--- a/ci/setup-macos.sh
+++ b/ci/setup-macos.sh
@@ -4,3 +4,5 @@ set -x
brew update
brew install pkgconfig zlib curl openssl libssh2
+
+ln -s /Applications/Xcode.app/Contents/Developer/usr/lib/libLeaksAtExit.dylib /usr/local/lib
diff --git a/script/install-deps-osx.sh b/script/install-deps-osx.sh
index 94314dbaa..8b88f8471 100755
--- a/script/install-deps-osx.sh
+++ b/script/install-deps-osx.sh
@@ -7,3 +7,5 @@ brew install zlib
brew install curl
brew install openssl
brew install libssh2
+
+ln -s /Applications/Xcode.app/Contents/Developer/usr/lib/libLeaksAtExit.dylib /usr/local/lib