2020-07-04 08:12:36 +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:
|
2021-10-24 06:50:01 +08:00
|
|
|
- job: ubuntu_20_04
|
|
|
|
displayName: 'Build - Ubuntu 20.04'
|
2020-07-04 08:12:36 +08:00
|
|
|
continueOnError: false
|
|
|
|
pool:
|
2021-10-24 06:50:01 +08:00
|
|
|
vmImage: 'ubuntu-20.04'
|
2020-07-04 08:12:36 +08:00
|
|
|
workspace:
|
|
|
|
clean: all
|
|
|
|
steps:
|
|
|
|
- script: |
|
2024-10-04 20:20:26 +08:00
|
|
|
docker compose build
|
2020-10-13 13:34:40 +08:00
|
|
|
displayName: 'Compose build'
|
2020-07-04 08:12:36 +08:00
|
|
|
- script: |
|
2024-10-04 20:20:26 +08:00
|
|
|
docker compose run test
|
2020-10-13 13:34:40 +08:00
|
|
|
displayName: 'Compose run'
|