From 3747d2bf3f9ea3b9fe5590d6acb46201b6d053e8 Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Tue, 21 Jul 2020 23:23:29 +0200 Subject: [PATCH] Azure Pipelines: add macOS build --- .azure-pipelines.yml | 4 +--- .ci/azure-pipelines-macos.yml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 .ci/azure-pipelines-macos.yml diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 27fa459e..11213c83 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -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 diff --git a/.ci/azure-pipelines-macos.yml b/.ci/azure-pipelines-macos.yml new file mode 100644 index 00000000..ead77931 --- /dev/null +++ b/.ci/azure-pipelines-macos.yml @@ -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'