oatpp-swagger/azure-pipelines.yml

47 lines
1.1 KiB
YAML
Raw Normal View History

2019-01-27 06:48:59 +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
jobs:
2019-01-27 19:21:12 +08:00
- job: ubuntu_16_04
displayName: 'Build - Ubuntu 16.04'
continueOnError: false
pool:
vmImage: 'Ubuntu 16.04'
workspace:
clean: all
steps:
- script: |
mkdir build
- task: CMake@1
- script: |
cmake -DOATPP_MODULES_LOCATION=EXTERNAL ..
make
displayName: 'CMake'
workingDirectory: build
- script: |
make test ARGS="-V"
displayName: 'Test'
workingDirectory: build
2019-01-27 06:48:59 +08:00
- job: macOS
displayName: 'Build - macOS-10.13'
continueOnError: false
pool:
vmImage: 'macOS-10.13'
workspace:
clean: all
steps:
- script: |
mkdir build
- task: CMake@1
- script: |
cmake -DOATPP_MODULES_LOCATION=EXTERNAL ..
make
displayName: 'CMake'
workingDirectory: build
- script: |
make test ARGS="-V"
displayName: 'Test'
workingDirectory: build