summaryrefslogtreecommitdiff
path: root/netci.groovy
diff options
context:
space:
mode:
authorHyeongseok Oh <hseok82.oh@samsung.com>2017-03-10 10:17:56 +0900
committerHyeongseok Oh <hseok82.oh@samsung.com>2017-03-10 17:06:12 +0900
commit4d6accc32a86404a210f302e8f1def3a0114bd59 (patch)
tree43886be5985de1165952386fe118a5802d24536a /netci.groovy
parentcb271a205332766ee4716630a332a433e0cee74e (diff)
downloadcoreclr-4d6accc32a86404a210f302e8f1def3a0114bd59.tar.gz
coreclr-4d6accc32a86404a210f302e8f1def3a0114bd59.tar.bz2
coreclr-4d6accc32a86404a210f302e8f1def3a0114bd59.zip
[Linux/x86] Enable CI Linux/x86 build job
Make new CI job: Linux/x86 build (debug, checked, release) - Triggered on-demand - Docker for crossbuild - Use build-rootfs.sh script to make x86 rootfs
Diffstat (limited to 'netci.groovy')
-rwxr-xr-xnetci.groovy24
1 files changed, 22 insertions, 2 deletions
diff --git a/netci.groovy b/netci.groovy
index 4354edcd72..8e40d05fc1 100755
--- a/netci.groovy
+++ b/netci.groovy
@@ -1068,7 +1068,13 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
break
// editor brace matching: }
case 'x86': // editor brace matching: {
- assert (os == 'Windows_NT')
+ assert ((os == 'Windows_NT') || ((os == 'Ubuntu') && (scenario == 'default')))
+ if (os == 'Ubuntu') {
+ // on-demand only for ubuntu x86
+ Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Build",
+ "(?i).*test\\W+${os}\\W+${architecture}\\W+${configuration}.*")
+ break
+ }
switch (scenario) {
case 'default':
if (configuration == 'Checked') {
@@ -1616,6 +1622,12 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
arch = 'x86'
}
+ if (architecture == 'x86' && os == 'Ubuntu') {
+ // build only, not test yet
+ buildCommands += "./tests/scripts/x86_ci_script.sh --buildConfig=${lowerConfiguration}"
+ break;
+ }
+
if (scenario == 'formatting') {
buildCommands += "python tests/scripts/format.py -c \${WORKSPACE} -o Linux -a ${arch}"
Utilities.addArchival(newJob, "format.patch", "", true, false)
@@ -1798,6 +1810,10 @@ combinedScenarios.each { scenario ->
}
break
case 'x86':
+ if ((os != 'Ubuntu') && (os != 'Windows_NT')) {
+ return
+ }
+ break
case 'x86compatjit':
// Skip non-windows
if (os != 'Windows_NT') {
@@ -1838,7 +1854,11 @@ combinedScenarios.each { scenario ->
break
case 'x64':
case 'x86':
- // Everything implemented
+ // x86 ubuntu: default only
+ if ((os == 'Ubuntu') && (architecture == 'x86')) {
+ return
+ }
+ // Windows: Everything implemented
break
case 'x86compatjit':
// No stress modes for compatjit.dll.