diff options
author | Eric Mellino <erme@microsoft.com> | 2017-03-28 03:04:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-28 03:04:02 +0300 |
commit | 06a9ed04daba816adff31585b0fa47e9d4cc39c5 (patch) | |
tree | 4affa5df2f56c704f1913a925ca782fd44856ab8 /netci.groovy | |
parent | 779b558146b9d9fe780c482a68a40f98b2aa085c (diff) | |
parent | 3cb92535b7f137a33e90ebcfb0da6cc372b46abb (diff) |
Merge pull request #17541 from hseok-oh/ci/arm_default
[ARM/CI] Set default CI job and change docker image
Diffstat (limited to 'netci.groovy')
-rw-r--r-- | netci.groovy | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/netci.groovy b/netci.groovy index 63e4c428bd..28ddca85a7 100644 --- a/netci.groovy +++ b/netci.groovy @@ -453,12 +453,8 @@ def buildArchConfiguration = ['Debug': 'x86', } // ************************** -// Define Linux ARM Emulator testing. This creates a per PR job which -// cross builds native binaries for the Emulator rootfs. -// NOTE: To add Ubuntu-ARM cross build jobs to this code, add the Ubuntu OS to the -// OS array, branch the steps to be performed by Ubuntu and the Linux ARM emulator -// based on the OS being handled, and handle the triggers accordingly -// (the machine affinity of the new job remains the same) +// Define Linux ARM builds. These jobs run on every merge. +// Some jobs run on every PR. The ones that don't run per PR can be requested via a phrase. // ************************** [true, false].each { isPR -> ['netcoreapp'].each { targetGroup -> @@ -504,7 +500,13 @@ def buildArchConfiguration = ['Debug': 'x86', // Set up triggers if (isPR) { - Utilities.addGithubPRTriggerForBranch(newJob, branch, "Innerloop ${osName} ${abi} ${configurationGroup} Cross Build", "(?i).*test\\W+innerloop\\W+${osName}\\W+${abi}\\W+${configurationGroup}.*") + // We run Tizen release/debug, Ubuntu 14.04 release and Ubuntu 16.04 debug for ARM on every PR. + if (osName == "Tizen" || (osName == "Ubuntu14.04" && configurationGroup == "Release") || (osName == "Ubuntu16.04" && configurationGroup == "Debug")) { + Utilities.addGithubPRTriggerForBranch(newJob, branch, "Innerloop ${osName} ${abi} ${configurationGroup} Cross Build") + } + else { + Utilities.addGithubPRTriggerForBranch(newJob, branch, "Innerloop ${osName} ${abi} ${configurationGroup} Cross Build", "(?i).*test\\W+innerloop\\W+${osName}\\W+${abi}\\W+${configurationGroup}.*") + } } else { // Set a push trigger |