Skip to content

Commit

Permalink
Add MacOS pipelines build support. (#902)
Browse files Browse the repository at this point in the history
* Attempt to add MacOS pipelines support; increase parallelism to 4.

* Fix "expression unused" warnings on MacOS.
  • Loading branch information
BillyONeal authored Oct 10, 2018
1 parent b0ebae3 commit c6377e9
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 6 deletions.
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'

0 comments on commit c6377e9

Please sign in to comment.