Skip to content

Commit ce1c6a9

Browse files
authored
Update WindowsAppSDK-Build-Per-Platform-Stage.yml (#5418)
1 parent d32f51e commit ce1c6a9

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

build/AzurePipelinesTemplates/WindowsAppSDK-Build-Per-Platform-Stage.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ stages:
3131
type: windows
3232
isCustom: true
3333
name: 'ProjectReunionESPool-2022'
34-
timeoutInMinutes: 120
34+
# In the less likely case of running APIScan and/or PREfast, give it more time.
35+
${{ if or(parameters.runApiScan, parameters.runPREfast) }}:
36+
timeoutInMinutes: 180
37+
${{ else }}:
38+
timeoutInMinutes: 120
3539
strategy:
3640
maxParallel: 10
3741
matrix:
@@ -108,7 +112,11 @@ stages:
108112
type: windows
109113
isCustom: true
110114
name: 'ProjectReunionESPool-2022'
111-
timeoutInMinutes: 120
115+
# In the less likely case of running APIScan and/or PREfast, give it more time.
116+
${{ if or(parameters.runApiScan, parameters.runPREfast) }}:
117+
timeoutInMinutes: 150
118+
${{ else }}:
119+
timeoutInMinutes: 120
112120
strategy:
113121
maxParallel: 10
114122
matrix:
@@ -176,4 +184,4 @@ stages:
176184
# requisite of isNative=true isn't met currently.
177185
- script: |
178186
md "C:\__t\NativeCompilerPrefast"
179-
displayName: 'Creating C:\__t\NativeCompilerPrefast to prevent errors from Guardian PREfast'
187+
displayName: 'Creating C:\__t\NativeCompilerPrefast to prevent errors from Guardian PREfast'

0 commit comments

Comments
 (0)