build-testing.yml 893 B

123456789101112131415161718192021222324252627282930
  1. jobs:
  2. - job: build_test
  3. displayName: 'testing'
  4. pool:
  5. vmImage: ubuntu-latest
  6. strategy:
  7. maxParallel: 10
  8. matrix:
  9. windows:
  10. BuildSuffix: 'windows-testing'
  11. ScriptFolder: 'windows'
  12. steps:
  13. - task: PythonScript@0
  14. condition: eq(variables['Build.Reason'], 'PullRequest')
  15. displayName: 'Determine Testing Status'
  16. inputs:
  17. scriptSource: 'filePath'
  18. scriptPath: '../scripts/merge/check-label-presence.py'
  19. arguments: '$(System.PullRequest.PullRequestNumber) create-testing-build'
  20. - ${{ if eq(variables.enabletesting, 'true') }}:
  21. - template: ./sync-source.yml
  22. parameters:
  23. artifactSource: $(parameters.artifactSource)
  24. needSubmodules: 'true'
  25. - template: ./mergebot.yml
  26. parameters:
  27. matchLabel: 'testing-merge'
  28. - template: ./build-single.yml
  29. parameters:
  30. artifactSource: 'false'