forked from microsoft/cpprestsdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipeline-macos-hosted.yml
26 lines (26 loc) · 1.05 KB
/
pipeline-macos-hosted.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
jobs:
- job: macos_10_14_hosted
pool:
vmImage: 'macOS-10.14'
steps:
- task: Bash@3
displayName: 'Install gcc'
inputs:
targetType: 'inline'
script: 'brew install gcc'
- task: lucappa.cmake-ninja-vcpkg-tasks.d855c326-b1c0-4d6f-b1c7-440ade6835fb.run-vcpkg@0
displayName: 'Run vcpkg'
inputs:
vcpkgTriplet: 'x64-osx'
vcpkgArguments: 'zlib openssl boost-system boost-date-time boost-regex websocketpp boost-thread boost-filesystem boost-random boost-chrono boost-interprocess brotli'
- task: lucappa.cmake-ninja-vcpkg-tasks.f2b1ec7d-bc54-4cc8-b9ed-1bc7f37c9dc6.run-cmake@0
displayName: 'Run CMake and Ninja - CMakeLists.txt'
inputs:
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
cmakeListsTxtPath: CMakeLists.txt
useVcpkgToolchainFile: true
cmakeAppendedArgs: '-G Ninja -DCMAKE_BUILD_TYPE=Release'
- script: |
cd $(Build.ArtifactStagingDirectory)/Release/Binaries/
./test_runner *test.so
displayName: 'Run tests, release'