oatpp/azure-pipelines.yml

174 lines
3.8 KiB
YAML
Raw Normal View History

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
2019-08-01 04:58:48 +08:00
jobs:
- job: ubuntu_16_04_mem_pool_on
displayName: 'Build - Ubuntu 16.04 - With Memory Pool'
continueOnError: false
pool:
vmImage: 'Ubuntu 16.04'
workspace:
clean: all
steps:
- script: |
mkdir build
- script: |
cmake -DCMAKE_BUILD_TYPE=Release ..
make
displayName: 'CMake'
workingDirectory: build
- script: |
make test ARGS="-V"
displayName: 'Test'
workingDirectory: build
- job: ubuntu_16_04_mem_pool_off
displayName: 'Build - Ubuntu 16.04 - No Memory Pool'
continueOnError: false
pool:
vmImage: 'Ubuntu 16.04'
workspace:
clean: all
2020-01-25 11:33:12 +08:00
steps:
- script: |
mkdir build
- 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
- job: ubuntu_18_04_mem_pool_on
displayName: 'Build - Ubuntu 18.04 - With Memory Pool'
continueOnError: false
pool:
vmImage: 'Ubuntu 18.04'
workspace:
clean: all
steps:
- script: |
mkdir build
- script: |
cmake -DCMAKE_BUILD_TYPE=Release ..
make
displayName: 'CMake'
workingDirectory: build
- script: |
make test ARGS="-V"
displayName: 'Test'
workingDirectory: build
- job: ubuntu_18_04_mem_pool_off
2020-01-25 11:35:23 +08:00
displayName: 'Build - Ubuntu 18.04 - No Memory Pool'
2020-01-25 11:33:12 +08:00
continueOnError: false
pool:
vmImage: 'Ubuntu 18.04'
workspace:
clean: all
steps:
- script: |
mkdir build
- 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
- 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
- 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
- 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
- job: windows_mem_pool_off
displayName: 'Build - Windows - With Memory Pool'
continueOnError: false
pool:
2019-08-01 04:58:48 +08:00
vmImage: 'windows-latest'
workspace:
clean: all
steps:
- script: |
2019-08-01 04:58:48 +08:00
MD build
- script: |
2019-08-01 05:20:15 +08:00
cmake ..
2019-08-01 05:18:09 +08:00
cmake --build .
displayName: 'CMake'
workingDirectory: build
- script: |
2019-08-01 05:36:48 +08:00
oatppAllTests.exe
displayName: 'Test'
2019-08-01 05:36:48 +08:00
workingDirectory: build\test\Debug\
- job: windows_mem_pool_on
displayName: 'Build - Windows - No Memory Pool'
continueOnError: false
pool:
vmImage: 'windows-latest'
workspace:
clean: all
steps:
- script: |
MD build
- script: |
cmake -DOATPP_DISABLE_POOL_ALLOCATIONS=ON ..
cmake --build .
displayName: 'CMake'
workingDirectory: build
- script: |
oatppAllTests.exe
displayName: 'Test'
workingDirectory: build\test\Debug\