Skip to content

Add MacOS pipelines build support. #902

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Release/tests/functional/http/client/compression_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -761,15 +761,15 @@ SUITE(compression_tests)
// No acquire(), to force non-acquire compression client codepaths
virtual bool acquire(_Out_ _CharType*& ptr, _Out_ size_t& count)
{
ptr;
count;
(void)ptr;
(void)count;
return false;
}

virtual void release(_Out_writes_(count) _CharType* ptr, _In_ size_t count)
{
ptr;
count;
(void)ptr;
(void)count;
}

static concurrency::streams::basic_istream<_CharType> open_istream(const _CharType* data, size_t size)
Expand Down
36 changes: 34 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
cmakeArgs: '-G Ninja -DCMAKE_BUILD_TYPE=Debug ..'
- script: |
cd build.debug
ninja -j 2
ninja -j 4
displayName: 'Run ninja'
- job: Ubuntu_1604_Apt_Release
pool:
Expand All @@ -37,5 +37,37 @@ jobs:
cmakeArgs: '-G Ninja -DCMAKE_BUILD_TYPE=Release ..'
- script: |
cd build.release
ninja -j 2
ninja -j 4
displayName: 'Run ninja'
- job: MacOS_Debug
pool:
vmImage: 'macOS-10.13'
steps:
- script: brew install boost openssl ninja
displayName: Berw install dependencies
- script: mkdir build.debug
displayName: Make build.debug
- task: CMake@1
inputs:
workingDirectory: 'build.debug'
cmakeArgs: '-G Ninja -DCMAKE_BUILD_TYPE=Debug ..'
- script: |
cd build.debug
ninja -j 4
displayName: 'Run ninja'
- job: MacOS_Release
pool:
vmImage: 'macOS-10.13'
steps:
- script: brew install boost openssl ninja
displayName: Berw install dependencies
- script: mkdir build.release
displayName: Make build.release
- task: CMake@1
inputs:
workingDirectory: 'build.release'
cmakeArgs: '-G Ninja -DCMAKE_BUILD_TYPE=Release ..'
- script: |
cd build.release
ninja -j 4
displayName: 'Run ninja'