2018-10-16 17:37:32 +08:00
|
|
|
# Starter pipeline
|
|
|
|
# Start with a minimal pipeline that you can customize to build and deploy your code.
|
|
|
|
# Add steps that build, run tests, deploy, and more:
|
|
|
|
# https://aka.ms/yaml
|
|
|
|
|
2018-10-17 00:46:37 +08:00
|
|
|
jobs:
|
2019-03-29 10:05:48 +08:00
|
|
|
- job: ubuntu_16_04_mem_pool_on
|
2019-03-29 10:01:53 +08:00
|
|
|
displayName: 'Build - Ubuntu 16.04 - With Memory Pool'
|
2018-10-17 00:13:54 +08:00
|
|
|
continueOnError: false
|
|
|
|
pool:
|
2019-03-29 10:01:53 +08:00
|
|
|
vmImage: 'Ubuntu 16.04'
|
2018-10-17 00:13:54 +08:00
|
|
|
workspace:
|
|
|
|
clean: all
|
|
|
|
steps:
|
2019-02-07 14:23:40 +08:00
|
|
|
- script: |
|
|
|
|
mkdir build
|
2018-10-17 00:13:54 +08:00
|
|
|
- task: CMake@1
|
2018-10-17 01:16:56 +08:00
|
|
|
- script: |
|
2019-03-29 10:01:53 +08:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release ..
|
|
|
|
make
|
|
|
|
displayName: 'CMake'
|
|
|
|
workingDirectory: build
|
|
|
|
|
|
|
|
- script: |
|
|
|
|
make test ARGS="-V"
|
|
|
|
displayName: 'Test'
|
|
|
|
workingDirectory: build
|
|
|
|
|
2019-03-29 10:05:48 +08:00
|
|
|
- job: ubuntu_16_04_mem_pool_off
|
2019-03-29 10:01:53 +08:00
|
|
|
displayName: 'Build - Ubuntu 16.04 - No Memory Pool'
|
|
|
|
continueOnError: false
|
|
|
|
pool:
|
|
|
|
vmImage: 'Ubuntu 16.04'
|
|
|
|
workspace:
|
|
|
|
clean: all
|
|
|
|
steps:
|
|
|
|
- script: |
|
|
|
|
mkdir build
|
|
|
|
- task: CMake@1
|
|
|
|
- script: |
|
|
|
|
cmake -DOATPP_DISABLE_POOL_ALLOCATIONS=ON -DCMAKE_BUILD_TYPE=Release ..
|
|
|
|
make
|
|
|
|
displayName: 'CMake'
|
|
|
|
workingDirectory: build
|
|
|
|
|
|
|
|
- script: |
|
|
|
|
make test ARGS="-V"
|
|
|
|
displayName: 'Test'
|
|
|
|
workingDirectory: build
|
|
|
|
|
2019-05-01 23:35:49 +08:00
|
|
|
- job: macOS_mem_pool_on
|
|
|
|
displayName: 'Build - macOS - With Memory Pool'
|
|
|
|
continueOnError: false
|
|
|
|
pool:
|
|
|
|
vmImage: 'macOS-10.14'
|
|
|
|
workspace:
|
|
|
|
clean: all
|
|
|
|
steps:
|
|
|
|
- script: |
|
|
|
|
mkdir build
|
|
|
|
- task: CMake@1
|
|
|
|
- script: |
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release ..
|
|
|
|
make
|
|
|
|
displayName: 'CMake'
|
|
|
|
workingDirectory: build
|
|
|
|
|
|
|
|
- script: |
|
|
|
|
make test ARGS="-V"
|
|
|
|
displayName: 'Test'
|
|
|
|
workingDirectory: build
|
|
|
|
|
|
|
|
- job: macOS_mem_pool_off
|
|
|
|
displayName: 'Build - macOS - No Memory Pool'
|
|
|
|
continueOnError: false
|
|
|
|
pool:
|
|
|
|
vmImage: 'macOS-10.14'
|
|
|
|
workspace:
|
|
|
|
clean: all
|
|
|
|
steps:
|
|
|
|
- script: |
|
|
|
|
mkdir build
|
|
|
|
- task: CMake@1
|
|
|
|
- script: |
|
|
|
|
cmake -DOATPP_DISABLE_POOL_ALLOCATIONS=ON -DCMAKE_BUILD_TYPE=Release ..
|
|
|
|
make
|
|
|
|
displayName: 'CMake'
|
|
|
|
workingDirectory: build
|
|
|
|
|
|
|
|
- script: |
|
|
|
|
make test ARGS="-V"
|
|
|
|
displayName: 'Test'
|
|
|
|
workingDirectory: build
|
|
|
|
|