Skip to content

Commit

Permalink
Merge pull request #497 from BruceDai/vmimage_windows-2022
Browse files Browse the repository at this point in the history
Use vmImage windows 2022
  • Loading branch information
BruceDai authored Feb 26, 2024
2 parents 2294a96 + 15d2f88 commit d0782de
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ jobs:
dependsOn: results_edge_stable
artifactName: edge-stable-results

- job: results_edge_dev
- job: results_edge_dev_win10
displayName: 'all tests: Edge Dev'
condition: |
or(eq(variables['Build.SourceBranch'], 'refs/heads/epochs/three_hourly'),
Expand Down Expand Up @@ -422,6 +422,42 @@ jobs:
dependsOn: results_edge_dev
artifactName: edge-dev-results

- job: results_edge_dev_win11
displayName: 'all tests: Edge Dev'
condition: |
or(eq(variables['Build.SourceBranch'], 'refs/heads/epochs/three_hourly'),
eq(variables['Build.SourceBranch'], 'refs/heads/triggers/edge_dev'),
and(eq(variables['Build.Reason'], 'Manual'), variables['run_all_edge_dev']))
strategy:
parallel: 8 # chosen to make runtime ~2h
timeoutInMinutes: 180
pool:
vmImage: 'windows-2022'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.11'
- template: tools/ci/azure/system_info.yml
- template: tools/ci/azure/checkout.yml
- template: tools/ci/azure/install_certs.yml
- template: tools/ci/azure/install_edge.yml
parameters:
channel: dev
- template: tools/ci/azure/update_hosts.yml
- template: tools/ci/azure/update_manifest.yml
- script: python ./wpt run --yes --no-manifest-update --no-restart-on-unexpected --no-fail-on-unexpected --install-fonts --this-chunk $(System.JobPositionInPhase) --total-chunks $(System.TotalJobsInPhase) --chunk-type hash --log-wptreport $(Build.ArtifactStagingDirectory)/wpt_report_$(System.JobPositionInPhase).json --log-wptscreenshot $(Build.ArtifactStagingDirectory)/wpt_screenshot_$(System.JobPositionInPhase).txt --log-mach - --log-mach-level info --channel dev edgechromium
displayName: 'Run tests (Edge Dev)'
- task: PublishBuildArtifacts@1
displayName: 'Publish results'
inputs:
artifactName: 'edge-dev-results'
- template: tools/ci/azure/publish_logs.yml
- template: tools/ci/azure/sysdiagnose.yml
- template: tools/ci/azure/fyi_hook.yml
parameters:
dependsOn: results_edge_dev
artifactName: edge-dev-results

- job: results_edge_canary
displayName: 'all tests: Edge Canary'
condition: |
Expand Down

0 comments on commit d0782de

Please sign in to comment.