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'
|
2019-08-05 04:55:44 +08:00
|
|
|
continueOnError: false
|
|
|
|
pool:
|
2021-10-19 20:39:27 +08:00
|
|
|
vmImage: 'ubuntu-20.04'
|
2019-08-05 04:55:44 +08:00
|
|
|
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
|
|
|
|
|
2023-04-19 04:51:20 +08:00
|
|
|
- job: ubuntu_22_04_mem_pool_on
|
|
|
|
displayName: 'Build - Ubuntu 22.04'
|
2020-01-25 11:33:12 +08:00
|
|
|
continueOnError: false
|
|
|
|
pool:
|
2023-04-19 04:54:07 +08:00
|
|
|
vmImage: 'ubuntu-22.04'
|
2020-01-25 11:33:12 +08:00
|
|
|
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
|
|
|
|
|
2019-08-05 04:55:44 +08:00
|
|
|
- job: macOS_mem_pool_on
|
2021-11-16 08:13:56 +08:00
|
|
|
displayName: 'Build - macOS'
|
2019-08-05 04:55:44 +08:00
|
|
|
continueOnError: false
|
|
|
|
pool:
|
2021-12-15 08:41:23 +08:00
|
|
|
vmImage: 'macOS-latest'
|
2019-08-05 04:55:44 +08:00
|
|
|
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'
|
2019-05-01 23:35:49 +08:00
|
|
|
continueOnError: false
|
|
|
|
pool:
|
2019-08-01 04:58:48 +08:00
|
|
|
vmImage: 'windows-latest'
|
2019-05-01 23:35:49 +08:00
|
|
|
workspace:
|
|
|
|
clean: all
|
|
|
|
steps:
|
|
|
|
- script: |
|
2019-08-01 04:58:48 +08:00
|
|
|
MD build
|
2019-05-01 23:35:49 +08:00
|
|
|
- script: |
|
2019-08-01 05:20:15 +08:00
|
|
|
cmake ..
|
2019-08-01 05:18:09 +08:00
|
|
|
cmake --build .
|
2019-05-01 23:35:49 +08:00
|
|
|
displayName: 'CMake'
|
|
|
|
workingDirectory: build
|
|
|
|
|
|
|
|
- script: |
|
2019-08-01 05:36:48 +08:00
|
|
|
oatppAllTests.exe
|
2019-05-01 23:35:49 +08:00
|
|
|
displayName: 'Test'
|
2019-08-01 05:36:48 +08:00
|
|
|
workingDirectory: build\test\Debug\
|