From 1741573db8c4a8b79ef4e037dd6cd92838fbd550 Mon Sep 17 00:00:00 2001 From: Jiyoung Giuliana Yun Date: Wed, 17 May 2017 08:23:24 +0900 Subject: [PATCH] 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 --- src/installer/netci.groovy | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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')) { -- 2.7.4