Files
openttd-cmclient/azure-pipelines/templates/linux-build.yml
Pavel Stupnikov 68febec2a3 Add all the missing files
--HG--
branch : openttd
2019-02-15 02:26:04 +03:00

19 lines
552 B
YAML

parameters:
Image: ''
Tag: ''
ContainerCommand: ''
steps:
- task: Docker@1
${{ if eq(parameters.Image, 'compile-farm') }}:
displayName: 'Build'
${{ if eq(parameters.Image, 'compile-farm-ci') }}:
displayName: 'Build and test'
inputs:
command: 'Run an image'
imageName: openttd/${{ parameters.Image }}:${{ parameters.Tag }}
volumes: '$(Build.SourcesDirectory):$(Build.SourcesDirectory)'
workingDirectory: '$(Build.SourcesDirectory)'
containerCommand: ${{ parameters.ContainerCommand }}
runInBackground: false