summaryrefslogtreecommitdiff
path: root/azure-pipelines/templates/osx-dependencies.yml
diff options
context:
space:
mode:
Diffstat (limited to 'azure-pipelines/templates/osx-dependencies.yml')
-rw-r--r--azure-pipelines/templates/osx-dependencies.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/azure-pipelines/templates/osx-dependencies.yml b/azure-pipelines/templates/osx-dependencies.yml
new file mode 100644
index 000000000..c4b723c58
--- /dev/null
+++ b/azure-pipelines/templates/osx-dependencies.yml
@@ -0,0 +1,11 @@
+steps:
+- script: |
+ set -ex
+ HOMEBREW_NO_AUTO_UPDATE=1 brew install pkg-config lzo xz libpng
+ # Remove the dynamic libraries of these libraries, to ensure we use
+ # the static versions. That is important, as it is unlikely any
+ # end-user has these brew libraries installed.
+ rm /usr/local/Cellar/lzo/*/lib/*.dylib
+ rm /usr/local/Cellar/xz/*/lib/*.dylib
+ rm /usr/local/Cellar/libpng/*/lib/*.dylib
+ displayName: 'Install dependencies'