Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit cefb0e8

Browse files
sdmacleastephentoub
authored andcommitted
[Arm64] Stop running Ubuntu16.04 arm64 Debug Build on PR (#28276)
1 parent 58662c6 commit cefb0e8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

netci.groovy

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,14 @@ def targetGroupOsMapInnerloop = ['netcoreapp': ['Windows_NT', 'Ubuntu14.04', 'Ub
390390

391391
// Set up triggers
392392
if (isPR) {
393-
// We run Arm64 Debug and Linux Release as default PR builds
394-
Utilities.addGithubPRTriggerForBranch(newJob, branch, "${osName} arm64 ${configurationGroup} Build")
393+
if (configurationGroup == "Release") {
394+
// Run Arm64 Linux Release job automatically for PR builds
395+
Utilities.addGithubPRTriggerForBranch(newJob, branch, "${osName} arm64 ${configurationGroup} Build")
396+
}
397+
else {
398+
// Add Arm64 Linux Debug job hook
399+
Utilities.addGithubPRTriggerForBranch(newJob, branch, "${osName} arm64 ${configurationGroup} Build", "(?i).*test\\W+${osName}\\W+arm64\\W+${configurationGroup}.*")
400+
}
395401
}
396402
else {
397403
// Set a push trigger

0 commit comments

Comments
 (0)