|
|
@ -4,18 +4,20 @@ jobs:
|
|
|
|
pool:
|
|
|
|
pool:
|
|
|
|
vmImage: ubuntu-latest
|
|
|
|
vmImage: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
|
maxParallel: 10
|
|
|
|
maxParallel: 5
|
|
|
|
matrix:
|
|
|
|
matrix:
|
|
|
|
windows:
|
|
|
|
windows:
|
|
|
|
BuildSuffix: 'windows-testing'
|
|
|
|
BuildSuffix: 'windows-testing'
|
|
|
|
ScriptFolder: 'windows'
|
|
|
|
ScriptFolder: 'windows'
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- script: pip install requests urllib3
|
|
|
|
|
|
|
|
displayName: 'Prepare Environment'
|
|
|
|
- task: PythonScript@0
|
|
|
|
- task: PythonScript@0
|
|
|
|
condition: eq(variables['Build.Reason'], 'PullRequest')
|
|
|
|
condition: eq(variables['Build.Reason'], 'PullRequest')
|
|
|
|
displayName: 'Determine Testing Status'
|
|
|
|
displayName: 'Determine Testing Status'
|
|
|
|
inputs:
|
|
|
|
inputs:
|
|
|
|
scriptSource: 'filePath'
|
|
|
|
scriptSource: 'filePath'
|
|
|
|
scriptPath: '../scripts/merge/check-label-presence.py'
|
|
|
|
scriptPath: '.ci/scripts/merge/check-label-presence.py'
|
|
|
|
arguments: '$(System.PullRequest.PullRequestNumber) create-testing-build'
|
|
|
|
arguments: '$(System.PullRequest.PullRequestNumber) create-testing-build'
|
|
|
|
- ${{ if eq(variables.enabletesting, 'true') }}:
|
|
|
|
- ${{ if eq(variables.enabletesting, 'true') }}:
|
|
|
|
- template: ./sync-source.yml
|
|
|
|
- template: ./sync-source.yml
|
|
|
|