oatpp/azure-pipelines.yml

35 lines
857 B
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
2018-10-17 00:46:37 +08:00
jobs:
2018-10-17 00:13:54 +08:00
- job: ubuntu_16_04
displayName: 'Build - Ubuntu 16.04'
continueOnError: false
pool:
vmImage: 'Ubuntu 16.04'
workspace:
clean: all
steps:
2018-10-17 03:39:19 +08:00
- script: |
mkdir oatpp
mv `ls -A | grep -v oatpp` ./oatpp/
2018-10-17 00:13:54 +08:00
- task: CMake@1
2018-10-17 01:16:56 +08:00
- script: |
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DOATPP_INSTALL=OFF -DOATPP_BUILD_TESTS=ON
make
displayName: 'CMake'
2018-10-17 03:39:19 +08:00
workingDirectory: oatpp
2018-10-17 01:16:56 +08:00
- script: |
make test ARGS="-V"
displayName: 'Test'
2018-10-17 03:39:19 +08:00
workingDirectory: oatpp
2018-10-16 17:37:32 +08:00
2018-10-17 00:13:54 +08:00
##- job: macOS
## displayName: 'Build - macOS-10.13'
## continueOnError: false
## pool:
## vmImage: 'macOS-10.13'