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

Commit

Permalink
Enable Windows ARM32 and ARM64 Debug builds as default PR triggered
Browse files Browse the repository at this point in the history
These will be PR triggered for all users, not just those on the
arm64Users list. Since these are Build only, and do no testing,
with the change to use public VS2017 build tools, they can be run
by anyone.

Users on the arm64Users list will still get Checked Build and Test
jobs, which require using the private test machines.
  • Loading branch information
BruceForstall committed Aug 2, 2018
1 parent a191975 commit 399e7b4
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions netci.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,11 @@ class Constants {
'Release'
],
'arm': [
'Checked',
'Debug',
'Checked'
],
'arm64': [
'Debug',
'Checked'
]
],
Expand Down Expand Up @@ -2005,7 +2007,12 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,

switch (scenario) {
case 'innerloop':
if (configuration == 'Checked') {
if (configuration == 'Debug') {
// Add default PR trigger for Windows arm Debug builds. This is a build only -- no tests are run --
// so the private test hardware is not used. Thus, it can be run by all users, not just arm64Users.
// People in arm64Users will get both this and the Checked Build and Test job.
Utilities.addGithubPRTriggerForBranch(job, branch, contextString)
} else if (configuration == 'Checked') {
Utilities.addDefaultPrivateGithubPRTriggerForBranch(job, branch, contextString, null, arm64Users)
}
break
Expand Down Expand Up @@ -2079,7 +2086,12 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,

switch (scenario) {
case 'innerloop':
if (configuration == 'Checked') {
if (configuration == 'Debug') {
// Add default PR trigger for Windows arm64 Debug builds. This is a build only -- no tests are run --
// so the private test hardware is not used. Thus, it can be run by all users, not just arm64Users.
// People in arm64Users will get both this and the Checked Build and Test job.
Utilities.addGithubPRTriggerForBranch(job, branch, contextString)
} else if (configuration == 'Checked') {
Utilities.addDefaultPrivateGithubPRTriggerForBranch(job, branch, contextString, null, arm64Users)
}
break
Expand Down

0 comments on commit 399e7b4

Please sign in to comment.