@@ -345,68 +345,6 @@ def targetGroupOsMapInnerloop = ['netcoreapp': ['Windows_NT', 'Ubuntu14.04', 'Ub
345345 } // targetGroup
346346} // isPR
347347
348- // **************************
349- // Define Linux ARM64 cross builds. These jobs run on every merge.
350- // Some jobs run on every PR. The ones that don't run per PR can be requested via a phrase.
351- // **************************
352- [true , false ]. each { isPR ->
353- [' netcoreapp' ]. each { targetGroup ->
354- [' Debug' , ' Release' ]. each { configurationGroup ->
355- def osGroup = " Linux"
356- def archGroup = ' arm64'
357- def osName = ' Ubuntu16.04'
358-
359- def newJobName = " ${ osName.toLowerCase()} _arm64_cross_${ configurationGroup.toLowerCase()} "
360-
361- def newJob = job(Utilities . getFullJobName(project, newJobName, isPR)) {
362- steps {
363- // Call the arm64_ci_script.sh script to perform the cross build of native corefx
364- def script = " ./cross/arm64_ci_script.sh --buildConfig=${ configurationGroup.toLowerCase()} "
365- shell(script)
366-
367- // Tar up the appropriate bits.
368- shell(" tar -czf bin/build.tar.gz --directory=\" bin/Linux.${ archGroup} .${ configurationGroup} /native\" ." )
369- }
370- }
371-
372- // The cross build jobs run on Ubuntu. The arm-cross-latest version
373- // contains the packages needed for cross building corefx
374- Utilities . setMachineAffinity(newJob, ' Ubuntu14.04' , ' arm-cross-latest' )
375-
376- // Set up standard options.
377- Utilities . standardJobSetup(newJob, project, isPR, " */${ branch} " )
378-
379- // Add archival for the built binaries
380- def archiveContents = " bin/build.tar.gz"
381- Utilities . addArchival(newJob, archiveContents)
382-
383- newJob. with {
384- publishers {
385- azureVMAgentPostBuildAction {
386- agentPostBuildAction(' Delete agent after build execution (when idle).' )
387- }
388- }
389- }
390-
391- // Set up triggers
392- if (isPR) {
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- }
401- }
402- else {
403- // Set a push trigger
404- Utilities . addGithubPushTrigger(newJob)
405- }
406- } // configurationGroup
407- } // targetGroup
408- } // isPR
409-
410348// **************************
411349// Define Linux x86 builds. These jobs run daily and results will be used for CoreCLR test
412350// TODO: innerloop & outerloop testing & merge to general job generation routine
0 commit comments