oatpp/azure-pipelines.yml

90 lines
1.9 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:
2021-10-19 20:39:27 +08:00
- job: ubuntu_20_04_mem_pool_on
2021-11-16 08:13:56 +08:00
displayName: 'Build - Ubuntu 20.04'
continueOnError: false
pool:
2021-10-19 20:39:27 +08:00
vmImage: 'ubuntu-20.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
2020-01-25 11:33:12 +08:00
- job: ubuntu_18_04_mem_pool_on
2021-11-16 08:13:56 +08:00
displayName: 'Build - Ubuntu 18.04'
2020-01-25 11:33:12 +08:00
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: macOS_mem_pool_on
2021-11-16 08:13:56 +08:00
displayName: 'Build - macOS'
continueOnError: false
pool:
2021-12-15 08:41:23 +08:00
vmImage: 'macOS-latest'
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: windows_mem_pool_off
2021-11-16 08:13:56 +08:00
displayName: 'Build - Windows'
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\