Skip to content

Commit

Permalink
Add Ubuntu 16.04 Azure Pipelines Validation (#898)
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyONeal authored Oct 9, 2018
1 parent 2aa4a64 commit 19c9f1c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions azure-pipelines.yml
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'

0 comments on commit 19c9f1c

Please sign in to comment.