-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Ubuntu 16.04 Azure Pipelines Validation (#898)
- Loading branch information
1 parent
2aa4a64
commit 19c9f1c
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# CppRestSdk Azure Pipelines Configuration | ||
|
||
jobs: | ||
- job: Ubuntu_1604_Apt_Debug | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- script: | | ||
sudo apt-get install -y ppa-purge | ||
sudo ppa-purge -y ppa:ondrej/php | ||
sudo apt-get install -y libboost-atomic-dev libboost-thread-dev libboost-system-dev libboost-date-time-dev libboost-regex-dev libboost-filesystem-dev libboost-random-dev libboost-chrono-dev libboost-serialization-dev libwebsocketpp-dev brotli openssl libssl-dev ninja-build | ||
displayName: Apt 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 2 | ||
displayName: 'Run ninja' | ||
- job: Ubuntu_1604_Apt_Release | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- script: | | ||
sudo apt-get install -y ppa-purge | ||
sudo ppa-purge -y ppa:ondrej/php | ||
sudo apt-get install -y libboost-atomic-dev libboost-thread-dev libboost-system-dev libboost-date-time-dev libboost-regex-dev libboost-filesystem-dev libboost-random-dev libboost-chrono-dev libboost-serialization-dev libwebsocketpp-dev brotli openssl libssl-dev ninja-build | ||
displayName: Apt 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 2 | ||
displayName: 'Run ninja' |