Skip to content

Commit

Permalink
[Pipelines] Extend time and add PR trigger (#7071)
Browse files Browse the repository at this point in the history
When the pipeline builds and tests in a windows environment, the time
limit of 90 minutes reached. There is an insufficient amount of time
available to run the pipeline in the windows environment. So, this PR
increases the limit to 120 minutes.
Here is an example of insufficient time constraints:
#7065
Additionally, this PR explicitly adds a trigger when a PR is created, so
that the pipeline is explicitly run when that event happens. This allows
the pipeline to be run with stricter security rules.
  • Loading branch information
bob80905 authored Jan 27, 2025
1 parent 10b3328 commit bf24b74
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
trigger:
- main
- release*

pr:
- main
- release*

resources:
- repo: self
Expand All @@ -9,7 +13,7 @@ stages:
- stage: Build
jobs:
- job: Windows
timeoutInMinutes: 90
timeoutInMinutes: 120

pool:
vmImage: windows-2022
Expand Down Expand Up @@ -40,7 +44,7 @@ stages:
displayName: 'DXIL Tests'
- job: Nix
timeoutInMinutes: 90
timeoutInMinutes: 120

variables:
macOS: macOS-latest
Expand Down

0 comments on commit bf24b74

Please sign in to comment.