Skip to content

Commit

Permalink
Add MacOS build to azure-pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
lganzzzo committed May 25, 2019
1 parent 3c4b701 commit b3fdd76
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# oatpp-mbedtls
# oatpp-mbedtls [![Build Status](https://dev.azure.com/lganzzzo/lganzzzo/_apis/build/status/oatpp.oatpp-mbedtls?branchName=master)](https://dev.azure.com/lganzzzo/lganzzzo/_build/latest?definitionId=18&branchName=master)
Client/Server Secure ConnectionProvider for oatpp based on MbedTLS
44 changes: 24 additions & 20 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,27 @@ jobs:
./module-tests
displayName: 'Test'
workingDirectory: build/test
# - job: macOS
# displayName: 'Build - macOS'
# continueOnError: false
# pool:
# vmImage: 'macOS-10.14'
# workspace:
# clean: all
# steps:
# - script: |
# mkdir build
# - task: CMake@1
# - script: |
# cmake -DCMAKE_BUILD_TYPE=Release ..
# make
# displayName: 'CMake'
# workingDirectory: build
# - script: |
# make test ARGS="-V"
# displayName: 'Test'
# workingDirectory: build
- job: macOS
displayName: 'Build - macOS'
continueOnError: false
pool:
vmImage: 'macOS-10.14'
workspace:
clean: all
steps:
- script: |
./build-mbedtls.sh
workingDirectory: utility/install-deps
displayName: 'build MbedTLS'
- script: |
mkdir build
- task: CMake@1
- script: |
cmake -DMBEDTLS_ROOT_DIR=utility/install-deps/tmp/mbedtls-build -DOATPP_MODULES_LOCATION=EXTERNAL ..
make
displayName: 'CMake'
workingDirectory: build
- script: |
./module-tests
displayName: 'Test'
workingDirectory: build/test

0 comments on commit b3fdd76

Please sign in to comment.