1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 09:29:52 +03:00

Azure Pipelines: add macOS build

This commit is contained in:
Davide Beatrici 2020-07-21 23:23:29 +02:00
parent 3c99f64621
commit 3747d2bf3f
2 changed files with 14 additions and 3 deletions

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

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'