summaryrefslogtreecommitdiff
path: root/azure-pipelines/templates/osx-build.yml
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2019-04-07 12:01:32 +0200
committerglx22 <glx22@users.noreply.github.com>2020-06-05 19:36:05 +0200
commit4218ebc932950a8751146784ea5dad127bc27b10 (patch)
tree6483a0aad91205fed7c2adfec21699e1e55847b3 /azure-pipelines/templates/osx-build.yml
parentb7643b1d36cb41eb6712042761c13b9819fcbe74 (diff)
downloadopenttd-4218ebc932950a8751146784ea5dad127bc27b10.tar.xz
Fix: [AzurePipelines] switch the CI / CD to CMake too
This also means dropping Debian/jessie, as it has a CMake that is too old (3.0), with no real path to upgrade.
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'