suyu/.ci/templates/build-testing.yml

30 lines
892 B
YAML
Raw Normal View History

2019-07-14 01:34:40 +00:00
jobs:
- job: build_test
displayName: 'testing'
pool:
vmImage: ubuntu-latest
2019-07-20 19:16:53 +00:00
strategy:
2019-07-14 01:34:40 +00:00
maxParallel: 10
matrix:
windows:
BuildSuffix: 'windows-testing'
ScriptFolder: 'windows'
steps:
- task: PythonScript@0
condition: eq(variables['Build.Reason'], 'PullRequest')
displayName: 'Determine Testing Status'
inputs:
scriptSource: 'filePath'
scriptPath: '../scripts/merge/check-label-presence.py'
arguments: '$(System.PullRequest.PullRequestNumber) create-testing-build'
- ${{ if eq(variables.enabletesting, 'true') }}:
- template: ./sync-source.yml
parameters:
artifactSource: $(parameters.artifactSource)
needSubmodules: 'true'
- template: ./mergebot.yml
parameters:
matchLabel: 'testing-merge'
- template: ./build-single.yml
parameters:
artifactSource: 'false'