Use one build definition to produce all Linux distro specific packages (#7615)
By using `./build.sh /t:AllLiuxDistrosNativeInstaller` Make a sandbox folder after compile step and copy compiled artifact to it. Since the content will be Linux generic, use package step with Docker in different distros. After finishing all the distro specific packaging, upload all of them at once Publish to debian only support all distro Improve perf of AllLiuxDistrosNativeInstaller, by copying more cache in to sandbox There will be a retry if package command failed
This commit is contained in:
parent
fac7481b09
commit
221ab05346
15 changed files with 194 additions and 21 deletions
17
build/SandBoxAndPackageInParallel.proj
Normal file
17
build/SandBoxAndPackageInParallel.proj
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Layout" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<Import Project="$(MSBuildThisFileDirectory)/LinuxDistrosNativeInstaller.props" />
|
||||
|
||||
<Target Name="RunInSandBoxAndPackage" >
|
||||
<MSBuild Projects="$(MSBuildThisFileDirectory)/SandBoxAndPackage.proj"
|
||||
Targets="SandBoxAndPackage"
|
||||
Properties="RepoRoot=$(RepoRoot);
|
||||
LinuxDistrosNeedNativeInstaller=%(LinuxDistrosNeedNativeInstaller.Identity);
|
||||
DockerFolder=%(LinuxDistrosNeedNativeInstaller.DockerFolder);
|
||||
BuildConfiguration=$(BuildConfiguration);
|
||||
InstallerOutputDirectory=$(InstallerOutputDirectory);
|
||||
BuildInParallel='true'
|
||||
" />
|
||||
</Target >
|
||||
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue