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

Merge PR #1180: Azure Pipelines: add macOS build

This commit is contained in:
Davide Beatrici 2020-07-22 00:26:31 +02:00 committed by GitHub
commit 0133682eb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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'