mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-09 19:20:41 +03:00
Merge PR #1180: Azure Pipelines: add macOS build
This commit is contained in:
commit
0133682eb3
@ -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
.ci/azure-pipelines-macos.yml
Normal file
13
.ci/azure-pipelines-macos.yml
Normal 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'
|
Loading…
Reference in New Issue
Block a user