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'