This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
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-24 20:42:33 +00:00
|
|
|
maxParallel: 5
|
2019-07-14 01:34:40 +00:00
|
|
|
matrix:
|
|
|
|
windows:
|
|
|
|
BuildSuffix: 'windows-testing'
|
|
|
|
ScriptFolder: 'windows'
|
|
|
|
steps:
|
2019-08-02 01:29:27 +00:00
|
|
|
- script: apt upgrade python3-pip && pip install requests urllib3
|
2019-07-24 20:42:33 +00:00
|
|
|
displayName: 'Prepare Environment'
|
2019-07-14 01:34:40 +00:00
|
|
|
- task: PythonScript@0
|
|
|
|
condition: eq(variables['Build.Reason'], 'PullRequest')
|
|
|
|
displayName: 'Determine Testing Status'
|
|
|
|
inputs:
|
|
|
|
scriptSource: 'filePath'
|
2019-07-24 20:42:33 +00:00
|
|
|
scriptPath: '.ci/scripts/merge/check-label-presence.py'
|
2019-07-14 01:34:40 +00:00
|
|
|
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:
|
2019-07-24 20:42:33 +00:00
|
|
|
artifactSource: 'false'
|
2019-07-28 18:21:18 +00:00
|
|
|
cache: 'false'
|