Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Mellino <erme@microsoft.com>2017-03-27 23:44:42 +0300
committerGitHub <noreply@github.com>2017-03-27 23:44:42 +0300
commitfcdbb3414efdc1622d0b51bfbefa269d491346ae (patch)
tree94b4d7db7705efc4ecf681c278ecb3ecf70f38a8 /netci.groovy
parentd02189142b981d6d2683b73887a92dfaaf6173c3 (diff)
parentfef7c5b65b737f3c901b1c4a174b0a758778190b (diff)
Merge pull request #17182 from hseok-oh/ci/linux_x86_build
[Linux/x86] Enable CI Linux/x86 build
Diffstat (limited to 'netci.groovy')
-rw-r--r--netci.groovy35
1 files changed, 35 insertions, 0 deletions
diff --git a/netci.groovy b/netci.groovy
index 8fb76de6b3..63e4c428bd 100644
--- a/netci.groovy
+++ b/netci.groovy
@@ -515,6 +515,41 @@ def buildArchConfiguration = ['Debug': 'x86',
} // targetGroup
} // isPR
+// **************************
+// Define Linux x86 builds. These jobs run daily and results will be used for CoreCLR test
+// TODO: innerloop & outerloop testing & merge to general job generation routine
+// **************************
+['Debug', 'Release'].each { configurationGroup ->
+ def osName = 'Ubuntu16.04'
+ def archGroup = 'x86'
+ def newJobName = "${osName.toLowerCase()}_${archGroup}_${configurationGroup.toLowerCase()}"
+
+ def newJob = job(Utilities.getFullJobName(project, newJobName, false)) {
+ steps {
+ // Call x86_ci_script.sh script to perform the cross build of native corefx
+ def script = "./cross/x86_ci_script.sh --buildConfig=${configurationGroup.toLowerCase()}"
+ shell(script)
+
+ // Tar up the appropriate bits
+ shell("tar -czf bin/bin.tar.gz --directory=\"bin/Linux.${archGroup}.${configurationGroup}/native\" .")
+ }
+ }
+
+ // The cross build jobs run on Ubuntu 14.04 in spite of the target is Ubuntu 16.04.
+ // The ubuntu 14.04 arm-cross-latest version contains the packages needed for cross building corefx
+ Utilities.setMachineAffinity(newJob, 'Ubuntu14.04', 'arm-cross-latest')
+
+ // Set up standard options.
+ Utilities.standardJobSetup(newJob, project, false, "*/${branch}")
+
+ // Add archival for the built binaries
+ def archiveContents = "bin/build.tar.gz"
+ Utilities.addArchival(newJob, archiveContents)
+
+ // Set a push trigger as a daily work
+ Utilities.addPeriodicTrigger(newJob, '@daily')
+}
+
JobReport.Report.generateJobReport(out)
// Make the call to generate the help job