From: Jiyoung Giuliana Yun Date: Tue, 16 May 2017 23:23:24 +0000 (+0900) Subject: Add Tizen armel CI job (dotnet/core-setup#2402) X-Git-Tag: submit/tizen/20210909.063632~11032^2~1339 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1741573db8c4a8b79ef4e037dd6cd92838fbd550;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Add Tizen armel CI job (dotnet/core-setup#2402) The tizen runtime pkgs are restored from Tizen dotnet-core feed. So, add the relevant feed by using OverridePackageSource property. Commit migrated from https://github.com/dotnet/core-setup/commit/c86873095c1ac6f07d8c4b9a5de1f86c1aa62b6b --- diff --git a/src/installer/netci.groovy b/src/installer/netci.groovy index 51b2b5a..c7e20c8 100644 --- a/src/installer/netci.groovy +++ b/src/installer/netci.groovy @@ -10,7 +10,7 @@ def project = GithubProject def branch = GithubBranchName def isPR = true -def platformList = ['Debian8.2:x64:Debug', 'PortableLinux:x64:Release', 'Ubuntu:x64:Release', 'Ubuntu16.04:x64:Release', 'Ubuntu16.10:x64:Release', 'Ubuntu:arm:Release', 'Ubuntu16.04:arm:Release', 'OSX10.12:x64:Release', 'Windows_NT:x64:Release', 'Windows_NT:x86:Debug', 'Windows_NT:arm:Debug', 'Fedora24:x64:Debug', 'OpenSUSE42.1:x64:Debug'] +def platformList = ['Debian8.2:x64:Debug', 'PortableLinux:x64:Release', 'Ubuntu:x64:Release', 'Ubuntu16.04:x64:Release', 'Ubuntu16.10:x64:Release', 'Ubuntu:arm:Release', 'Ubuntu16.04:arm:Release', 'OSX10.12:x64:Release', 'Windows_NT:x64:Release', 'Windows_NT:x86:Debug', 'Windows_NT:arm:Debug', 'Fedora24:x64:Debug', 'OpenSUSE42.1:x64:Debug', 'Tizen:armel:Release'] def static getBuildJobName(def configuration, def os, def architecture) { return configuration.toLowerCase() + '_' + os.toLowerCase() + '_' + architecture.toLowerCase() @@ -38,6 +38,13 @@ platformList.each { platform -> buildCommand += " -PortableBuild=true -SkipTests=true" } } + else if (os == 'Tizen') { + dockerRepository = "hqueue/dotnetcore" + dockerContainer = "ubuntu1404_cross_prereqs_v4-tizen_rootfs" + + dockerCommand = "docker run -e ROOTFS_DIR=/crossrootfs/${architecture}.tizen.build --name ${dockerContainer} --rm -v \${WORKSPACE}:${dockerWorkingDirectory} -w=${dockerWorkingDirectory} ${dockerRepository}:${dockerContainer}" + buildCommand = "${dockerCommand} ./build.sh -ConfigurationGroup=${configuration} -TargetArchitecture=${architecture} -DistroRid=tizen.4.0.0-${architecture} -SkipTests=true -DisableCrossgen=true -CrossBuild=true -- /p:OverridePackageSource=https:%2F%2Ftizen.myget.org/F/dotnet-core/api/v3/index.json" + } else if ((os.startsWith("Ubuntu")) && (architecture == 'arm' || architecture == 'armel')) {