summaryrefslogtreecommitdiff
path: root/publish-packages.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-01-30Remove run.exe and config.json (#21608)Sven Boemer1-1/+86
This moves us one step away from buildtools and towards arcade. This replaces run.sh and run.cmd (and all invocations) with "dotnet.sh msbuild" and "msbuild.cmd". - I'm using these wrapper scripts for now instead of those in eng/common in order to retain the very helpful "Running <command>" output in the build logs. - I'm using msbuild.cmd instead of dotnet.sh to match the current behavior that uses desktop msbuild on windows, instead of dotnet. All of the arguments that used to be implicitly generated by run.exe and config.json are now explicit, resulting in longer (but easier to copy+paste) commands. Some of these arguments are likely unnecessary, but in this change my goal is just to match the run.exe behavior. Later, I would like to go through and clean up parameters that don't need to be passed in every invocation. I might also consider moving more of the common arguments out into variables in a later change. Some of the wrapper scripts now have limited support for parsing "-Argument=Value" style parameters, to support our existing buildpipeline infrastructure, since I thought this was easier to test than changing our buildpipeline definitions. We can remove that parsing logic once we stop using buildpipeline (which has happened at this point). Some subtle parts of the change: * Add msbuild.cmd This simulates the behavior of Tools\msbuild.cmd, which calls desktop msbuild. * Fix BuildOS processing in package build and publish Previously, config.json had its own processing that would set OSName. Instead, we now pass it in explicitly where it's needed (building packages), or not at all (publishing them). * Handle "=" in publish-packages.cmd and other scripts This seems necessary to properly handle the azure access token * Set __BuildOS in PublishPackages Required for cases where the build OS isn't detected during the build such as freebsd. * Use dotnet msbuild in runtest.py This prevents us from having to deal with different quote escape behavior on windows and linux. Previously, arguments like fileloggerparameters and the logger were given quotes to escape semicolons in the argument. On unix, this prevented the argument from being split up by bash. On windows, it seems that the run.cmd/run.exe tools would prevent the extra quotes from being passed to msbuild.exe (desktop msbuild would choke on the quotes if they were passed along). Unlike desktop msbuild, dotnet msbuild is able to parse the quoted strings, so we simply psas the quoted arguments directly to it on windows. We may be able to do the same on unix. * Fix build-test.sh problem with BuildOS When copying native files during the unix test build, we rely on __BuildOS being set. Fixing the import order and always setting __BuildOS fixes this. We should eventually fix the inconsistent use of BuildOS vs __BuildOS.
2017-10-10Proof-of-concept of using new Publish infra in coreclrwtgodbe1-1/+3
2017-03-29Re-enable multi-queue for coreclr (#10541)smile21prc1-1/+3
* Add multiqueue Support for coreclr. Add multiqueue Support for coreclr. * Upload build results to ONE linux container Upload build results to ONE linux container * Fix helixpublish.proj Fix helixpublish.proj * Adding more logs. Adding more logs. * Revert logging changes. Revert logging changes. * Use build version containing support of "+" delimiter Use build version containing support of "+" delimiter * Fix indention. Fix indention. * Update to use latest tools. Update to use latest tools. * Use an older tool as latest has a wired error on "Run build.sh" step. Error details: 2017-03-28T23:30:13.2659430Z Running: /root/coreclr/Tools/dotnetcli/dotnet /root/coreclr/Tools/run.exe /root/coreclr/config.json build -Project=/root/coreclr/build.proj -MsBuildLog=/flp:Verbosity=normal;LogFile=/root/coreclr/bin/Logs/System.Private.CoreLib_Checked.log -BuildTarget -__IntermediatesDir=/root/coreclr/bin/obj/Linux.x64.Checked -__RootBinDir=/root/coreclr/bin -BuildNugetPackage=false -UseSharedCompilation=false -BuildArch=x64 -BuildType=Checked -BuildOS=Linux -OptimizationDataDir="/root/coreclr/packages/optimization.Linux-x64.IBC.CoreCLR//data/" -EnableProfileGuidedOptimization=true -skiprestore -OfficialBuildId=20170329-01 -- /p:ConfigurationGroup=Release /flp:v=diag 2017-03-28T23:30:13.6855470Z Running: /root/coreclr/Tools/msbuild.sh /nologo /verbosity:minimal /clp:Summary /maxcpucount /l:BinClashLogger,Tools/net46/Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log /p:RestoreDuringBuild=false /root/coreclr/build.proj /p:__BuildType=Checked /p:__BuildArch=x64 /p:__BuildOS=Linux /p:__RootBinDir=/root/coreclr/bin /p:__IntermediatesDir=/root/coreclr/bin/obj/Linux.x64.Checked /p:OfficialBuildId=20170329-01 /p:EnableProfileGuidedOptimization=true /p:OptimizationDataDir="/root/coreclr/packages/optimization.Linux-x64.IBC.CoreCLR//data/" /flp:Verbosity=normal;LogFile=/root/coreclr/bin/Logs/System.Private.CoreLib_Checked.log /p:BuildNugetPackage=false /t:Build /p:UseSharedCompilation=false /p:ConfigurationGroup=Release /flp:v=diag 2017-03-28T23:30:15.5843800Z /root/coreclr/Tools/Microsoft.CSharp.CurrentVersion.targets(321,5): error MSB4019: The imported project "/root/coreclr/Tools/Microsoft.Net.Compilers/2.0.0-rc/tools/Microsoft.CSharp.Core.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. [/root/coreclr/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj] 2017-03-28T23:30:16.6459770Z /root/coreclr/Tools/Microsoft.CSharp.CurrentVersion.targets(321,5): error MSB4019: The imported project "/root/coreclr/Tools/Microsoft.Net.Compilers/2.0.0-rc/tools/Microsoft.CSharp.Core.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. [/root/coreclr/src/mscorlib/System.Private.CoreLib.csproj] * New builds have errors, revert to use older builds. New builds have errors, revert to use older builds.
2017-03-15Revert "Make user specify RID for publishing test native bins into"William Godbe1-3/+1
2017-03-15Make user specify RID for publishing test native bins intowtgodbe1-1/+3
2016-10-17Build tests against packages & produce Core_Root for arbitrary OSwtgodbe1-0/+3
2016-07-29Use run tool in coreclr dev workflow.Lakshmi Priya Sekar1-51/+6
2016-07-14Update to latest version of buildtoolswtgodbe1-2/+2
2016-05-18Update build scripts to fix small errorswtgodbe1-11/+5
2016-05-17Add dev workflow scripts for build pipelinewtgodbe1-0/+77