Skip to content

Commit bf24b74

Browse files
authored
[Pipelines] Extend time and add PR trigger (#7071)
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.
1 parent 10b3328 commit bf24b74

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

azure-pipelines.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
trigger:
22
- main
33
- release*
4+
5+
pr:
6+
- main
7+
- release*
48

59
resources:
610
- repo: self
@@ -9,7 +13,7 @@ stages:
913
- stage: Build
1014
jobs:
1115
- job: Windows
12-
timeoutInMinutes: 90
16+
timeoutInMinutes: 120
1317

1418
pool:
1519
vmImage: windows-2022
@@ -40,7 +44,7 @@ stages:
4044
displayName: 'DXIL Tests'
4145
4246
- job: Nix
43-
timeoutInMinutes: 90
47+
timeoutInMinutes: 120
4448

4549
variables:
4650
macOS: macOS-latest

0 commit comments

Comments
 (0)