Merge PR #1180: Azure Pipelines: add macOS build

This commit is contained in:
Davide Beatrici authored and GitHub committed 2020-07-22 00:26:31 +02:00
commit 0133682eb3
2 files changed
+14 -3

No files matched your search

+1 -3
View File
@@ -1,6 +1,4 @@
jobs:
- template: .ci/azure-pipelines-linux.yml
# - template: .ci/azure-pipelines-osx.yml
- template: .ci/azure-pipelines-win.yml
- template: .ci/azure-pipelines-macos.yml
+13
View File
@@ -0,0 +1,13 @@
jobs:
- job: macOS
displayName: 'macOS'
pool:
vmImage: macOS-latest
steps:
- script: brew install cmake ninja ncurses readline openssl zlib
displayName: 'Install packages'
- script: |
cd $BUILD_BINARIESDIRECTORY
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl $BUILD_SOURCESDIRECTORY
cmake --build .
displayName: 'Build'