summaryrefslogtreecommitdiff
path: root/azure-pipelines/templates/osx-build.yml
diff options
context:
space:
mode:
Diffstat (limited to 'azure-pipelines/templates/osx-build.yml')
-rw-r--r--azure-pipelines/templates/osx-build.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/azure-pipelines/templates/osx-build.yml b/azure-pipelines/templates/osx-build.yml
index ae1724125..2baabf932 100644
--- a/azure-pipelines/templates/osx-build.yml
+++ b/azure-pipelines/templates/osx-build.yml
@@ -1,5 +1,9 @@
steps:
-- script: './configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig --enable-static'
- displayName: 'Configure'
-- script: 'make -j2'
+- script: |
+ set -ex
+
+ mkdir build
+ cd build
+ cmake ..
+ make -j2
displayName: 'Build'