runtime icon indicating copy to clipboard operation
runtime copied to clipboard

CI failure for tizen to publish nupkg

Open ragmani opened this issue 9 years ago • 3 comments

@eerhardt Recently ci failed to publish nuget packages of core-setup for tizen. So compared to core-setup prtest ci in ci.dot.net, which is still a success, we saw that the build scripts are different and that the build script has changed recently by dotnet/core-setup#3266.

  • The CI for publishing build.sh -ConfigurationGroup=Release -TargetArchitecture=armel -DistroRid=tizen.4.0.0-armel -SkipTests=true -DisableCrossgen=true -PortableBuild=false -CrossBuild=true -OfficialBuildId=20171025-07 -- /p:OverridePackageSource=https:%2F%2Ftizen.myget.org/F/dotnet-core/api/v3/index.json /p:Authors=Tizen
  • The CI for prtest in ci.dot.net ./build.sh -ConfigurationGroup=Release -TargetArchitecture=armel -strip-symbols -SkipTests=true -DisableCrossgen=true -PortableBuild=false -CrossBuild=true -- /p:OverridePackageSource=https:%2F%2Ftizen.myget.org/F/dotnet-core/api/v3/index.json /p:OutputRid=tizen.4.0.0-armel

We have two questions about it.

  1. What is the '-strip-symbols' option?
  2. Is the 'DistroRid' option changed to 'OutputRid'?

cc @hqueue @hseok-oh @chunseoklee

ragmani avatar Oct 27 '17 02:10 ragmani

What is the '-strip-symbols' option?

This option removes the symbols from the native binaries during the build. See https://github.com/dotnet/core-setup/blob/b5dd381dd3a586640e4bfe4804d6563861eaab20/src/settings.cmake#L73

This is the same as the stripSymbols build option in dotnet/coreclr and dotnet/corefx.

Is the 'DistroRid' option changed to 'OutputRid'?

Yes. DistroRid was a bad name for this property, since it is ambiguous between "the distro we are building on" vs. "the distro we are building for". OutputRid is pretty obvious that this is the Rid we are building for.

eerhardt avatar Oct 30 '17 14:10 eerhardt

@eerhardt Thanks for the explanation!

@ragmani I think we can just use OutputRid instead DistroRid and let's discuss about using -strip-symbols after comparing size of binaries.

hqueue avatar Oct 31 '17 05:10 hqueue

@eerhardt Thanks for your reply. @hqueue Okay, I see.

ragmani avatar Oct 31 '17 06:10 ragmani