Update dependencies from https://github.com/dotnet/arcade build 20210310.1 (#9929)
[master] Update dependencies from dotnet/arcade
This commit is contained in:
parent
52c55776c9
commit
1d54789636
13 changed files with 41 additions and 35 deletions
|
@ -140,13 +140,13 @@
|
||||||
</Dependency>
|
</Dependency>
|
||||||
</ProductDependencies>
|
</ProductDependencies>
|
||||||
<ToolsetDependencies>
|
<ToolsetDependencies>
|
||||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.21155.1">
|
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.21160.1">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>287fba3cbedce004fbd9823c268327960a69ca88</Sha>
|
<Sha>dcc1a4e5315b4f956d228f46999e8135701d8d4f</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="6.0.0-beta.21155.1">
|
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="6.0.0-beta.21160.1">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>287fba3cbedce004fbd9823c268327960a69ca88</Sha>
|
<Sha>dcc1a4e5315b4f956d228f46999e8135701d8d4f</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Private.SourceBuild.ReferencePackages" Version="1.0.0-beta.20217.1">
|
<Dependency Name="Private.SourceBuild.ReferencePackages" Version="1.0.0-beta.20217.1">
|
||||||
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Dependency from https://github.com/dotnet/arcade -->
|
<!-- Dependency from https://github.com/dotnet/arcade -->
|
||||||
<MicrosoftDotNetBuildTasksInstallersPackageVersion>6.0.0-beta.21155.1</MicrosoftDotNetBuildTasksInstallersPackageVersion>
|
<MicrosoftDotNetBuildTasksInstallersPackageVersion>6.0.0-beta.21160.1</MicrosoftDotNetBuildTasksInstallersPackageVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Dependency from https://github.com/dotnet/winforms -->
|
<!-- Dependency from https://github.com/dotnet/winforms -->
|
||||||
|
|
|
@ -18,7 +18,8 @@ Param(
|
||||||
[switch] $Internal,
|
[switch] $Internal,
|
||||||
[switch] $Compare,
|
[switch] $Compare,
|
||||||
[string] $MonoDotnet="",
|
[string] $MonoDotnet="",
|
||||||
[string] $Configurations="CompilationMode=$CompilationMode RunKind=$Kind"
|
[string] $Configurations="CompilationMode=$CompilationMode RunKind=$Kind",
|
||||||
|
[string] $LogicalMachine=""
|
||||||
)
|
)
|
||||||
|
|
||||||
$RunFromPerformanceRepo = ($Repository -eq "dotnet/performance") -or ($Repository -eq "dotnet-performance")
|
$RunFromPerformanceRepo = ($Repository -eq "dotnet/performance") -or ($Repository -eq "dotnet-performance")
|
||||||
|
@ -33,26 +34,23 @@ $Creator = $env:BUILD_DEFINITIONNAME
|
||||||
$PerfLabArguments = ""
|
$PerfLabArguments = ""
|
||||||
$HelixSourcePrefix = "pr"
|
$HelixSourcePrefix = "pr"
|
||||||
|
|
||||||
$Queue = "Windows.10.Amd64.ClientRS4.DevEx.15.8.Open"
|
$Queue = ""
|
||||||
|
|
||||||
# TODO: Implement a better logic to determine if Framework is .NET Core or >= .NET 5.
|
|
||||||
if ($Framework.StartsWith("netcoreapp") -or ($Framework -eq "net5.0")) {
|
|
||||||
$Queue = "Windows.10.Amd64.ClientRS5.Open"
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($Compare) {
|
|
||||||
$Queue = "Windows.10.Amd64.19H1.Tiger.Perf.Open"
|
|
||||||
$PerfLabArguments = ""
|
|
||||||
$ExtraBenchmarkDotNetArguments = ""
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($Internal) {
|
if ($Internal) {
|
||||||
$Queue = "Windows.10.Amd64.19H1.Tiger.Perf"
|
switch ($LogicalMachine) {
|
||||||
|
"perftiger" { $Queue = "Windows.10.Amd64.19H1.Tiger.Perf" }
|
||||||
|
"perfowl" { $Queue = "Windows.10.Amd64.20H2.Owl.Perf" }
|
||||||
|
"perfsurf" { $Queue = "Windows.10.Arm64.Perf.Surf" }
|
||||||
|
Default { $Queue = "Windows.10.Amd64.19H1.Tiger.Perf" }
|
||||||
|
}
|
||||||
$PerfLabArguments = "--upload-to-perflab-container"
|
$PerfLabArguments = "--upload-to-perflab-container"
|
||||||
$ExtraBenchmarkDotNetArguments = ""
|
$ExtraBenchmarkDotNetArguments = ""
|
||||||
$Creator = ""
|
$Creator = ""
|
||||||
$HelixSourcePrefix = "official"
|
$HelixSourcePrefix = "official"
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
$Queue = "Windows.10.Amd64.ClientRS4.DevEx.15.8.Open"
|
||||||
|
}
|
||||||
|
|
||||||
if($MonoInterpreter)
|
if($MonoInterpreter)
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,6 +27,7 @@ using_mono=false
|
||||||
wasm_runtime_loc=
|
wasm_runtime_loc=
|
||||||
using_wasm=false
|
using_wasm=false
|
||||||
use_latest_dotnet=false
|
use_latest_dotnet=false
|
||||||
|
logical_machine=
|
||||||
|
|
||||||
while (($# > 0)); do
|
while (($# > 0)); do
|
||||||
lowerI="$(echo $1 | tr "[:upper:]" "[:lower:]")"
|
lowerI="$(echo $1 | tr "[:upper:]" "[:lower:]")"
|
||||||
|
@ -55,6 +56,10 @@ while (($# > 0)); do
|
||||||
compilation_mode=$2
|
compilation_mode=$2
|
||||||
shift 2
|
shift 2
|
||||||
;;
|
;;
|
||||||
|
--logicalmachine)
|
||||||
|
logical_machine=$2
|
||||||
|
shift 2
|
||||||
|
;;
|
||||||
--repository)
|
--repository)
|
||||||
repository=$2
|
repository=$2
|
||||||
shift 2
|
shift 2
|
||||||
|
@ -179,19 +184,6 @@ queue=Ubuntu.1804.Amd64.Open
|
||||||
creator=$BUILD_DEFINITIONNAME
|
creator=$BUILD_DEFINITIONNAME
|
||||||
helix_source_prefix="pr"
|
helix_source_prefix="pr"
|
||||||
|
|
||||||
if [[ "$compare" == true ]]; then
|
|
||||||
extra_benchmark_dotnet_arguments=
|
|
||||||
perflab_arguments=
|
|
||||||
|
|
||||||
# No open queues for arm64
|
|
||||||
if [[ "$architecture" = "arm64" ]]; then
|
|
||||||
echo "Compare not available for arm64"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
queue=Ubuntu.1804.Amd64.Tiger.Perf.Open
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "$internal" == true ]]; then
|
if [[ "$internal" == true ]]; then
|
||||||
perflab_arguments="--upload-to-perflab-container"
|
perflab_arguments="--upload-to-perflab-container"
|
||||||
helix_source_prefix="official"
|
helix_source_prefix="official"
|
||||||
|
@ -201,7 +193,11 @@ if [[ "$internal" == true ]]; then
|
||||||
if [[ "$architecture" = "arm64" ]]; then
|
if [[ "$architecture" = "arm64" ]]; then
|
||||||
queue=Ubuntu.1804.Arm64.Perf
|
queue=Ubuntu.1804.Arm64.Perf
|
||||||
else
|
else
|
||||||
queue=Ubuntu.1804.Amd64.Tiger.Perf
|
if [[ "$logical_machine" = "perfowl" ]]; then
|
||||||
|
queue=Ubuntu.1804.Amd64.Owl.Perf
|
||||||
|
else
|
||||||
|
queue=Ubuntu.1804.Amd64.Tiger.Perf
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$alpine" = "true" ]]; then
|
if [[ "$alpine" = "true" ]]; then
|
||||||
|
|
|
@ -60,7 +60,7 @@ try {
|
||||||
--id $buildId `
|
--id $buildId `
|
||||||
--publishing-infra-version $PublishingInfraVersion `
|
--publishing-infra-version $PublishingInfraVersion `
|
||||||
--default-channels `
|
--default-channels `
|
||||||
--source-branch master `
|
--source-branch main `
|
||||||
--azdev-pat $AzdoToken `
|
--azdev-pat $AzdoToken `
|
||||||
--bar-uri $MaestroApiEndPoint `
|
--bar-uri $MaestroApiEndPoint `
|
||||||
--password $MaestroToken `
|
--password $MaestroToken `
|
||||||
|
|
|
@ -45,6 +45,7 @@ jobs:
|
||||||
buildId: $(AzDOBuildId)
|
buildId: $(AzDOBuildId)
|
||||||
artifactName: ${{ artifactName }}
|
artifactName: ${{ artifactName }}
|
||||||
downloadPath: $(Build.ArtifactStagingDirectory)\artifacts
|
downloadPath: $(Build.ArtifactStagingDirectory)\artifacts
|
||||||
|
checkDownloadedFiles: true
|
||||||
- ${{ if eq(parameters.artifactNames, '') }}:
|
- ${{ if eq(parameters.artifactNames, '') }}:
|
||||||
- task: DownloadBuildArtifacts@0
|
- task: DownloadBuildArtifacts@0
|
||||||
displayName: Download Build Artifacts
|
displayName: Download Build Artifacts
|
||||||
|
@ -57,6 +58,7 @@ jobs:
|
||||||
downloadType: specific files
|
downloadType: specific files
|
||||||
itemPattern: "**"
|
itemPattern: "**"
|
||||||
downloadPath: $(Build.ArtifactStagingDirectory)\artifacts
|
downloadPath: $(Build.ArtifactStagingDirectory)\artifacts
|
||||||
|
checkDownloadedFiles: true
|
||||||
- powershell: eng/common/sdl/extract-artifact-packages.ps1
|
- powershell: eng/common/sdl/extract-artifact-packages.ps1
|
||||||
-InputPath $(Build.ArtifactStagingDirectory)\artifacts\BlobArtifacts
|
-InputPath $(Build.ArtifactStagingDirectory)\artifacts\BlobArtifacts
|
||||||
-ExtractPath $(Build.ArtifactStagingDirectory)\artifacts\BlobArtifacts
|
-ExtractPath $(Build.ArtifactStagingDirectory)\artifacts\BlobArtifacts
|
||||||
|
|
|
@ -52,6 +52,7 @@ jobs:
|
||||||
inputs:
|
inputs:
|
||||||
artifactName: AssetManifests
|
artifactName: AssetManifests
|
||||||
downloadPath: '$(Build.StagingDirectory)/Download'
|
downloadPath: '$(Build.StagingDirectory)/Download'
|
||||||
|
checkDownloadedFiles: true
|
||||||
condition: ${{ parameters.condition }}
|
condition: ${{ parameters.condition }}
|
||||||
continueOnError: ${{ parameters.continueOnError }}
|
continueOnError: ${{ parameters.continueOnError }}
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ phases:
|
||||||
inputs:
|
inputs:
|
||||||
artifactName: AssetManifests
|
artifactName: AssetManifests
|
||||||
downloadPath: '$(Build.StagingDirectory)/Download'
|
downloadPath: '$(Build.StagingDirectory)/Download'
|
||||||
|
checkDownloadedFiles: true
|
||||||
condition: ${{ parameters.condition }}
|
condition: ${{ parameters.condition }}
|
||||||
continueOnError: ${{ parameters.continueOnError }}
|
continueOnError: ${{ parameters.continueOnError }}
|
||||||
- task: AzureKeyVault@1
|
- task: AzureKeyVault@1
|
||||||
|
|
|
@ -58,6 +58,7 @@ stages:
|
||||||
PdbArtifacts/**
|
PdbArtifacts/**
|
||||||
BlobArtifacts/**
|
BlobArtifacts/**
|
||||||
downloadPath: '$(Build.ArtifactStagingDirectory)'
|
downloadPath: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
checkDownloadedFiles: true
|
||||||
|
|
||||||
# This is necessary whenever we want to publish/restore to an AzDO private feed
|
# This is necessary whenever we want to publish/restore to an AzDO private feed
|
||||||
# Since sdk-task.ps1 tries to restore packages we need to do this authentication here
|
# Since sdk-task.ps1 tries to restore packages we need to do this authentication here
|
||||||
|
@ -124,6 +125,7 @@ stages:
|
||||||
BlobArtifacts/**
|
BlobArtifacts/**
|
||||||
AssetManifests/**
|
AssetManifests/**
|
||||||
downloadPath: '$(Build.ArtifactStagingDirectory)'
|
downloadPath: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
checkDownloadedFiles: true
|
||||||
|
|
||||||
- task: NuGetToolInstaller@1
|
- task: NuGetToolInstaller@1
|
||||||
displayName: 'Install NuGet.exe'
|
displayName: 'Install NuGet.exe'
|
||||||
|
|
|
@ -56,6 +56,7 @@ stages:
|
||||||
PdbArtifacts/**
|
PdbArtifacts/**
|
||||||
BlobArtifacts/**
|
BlobArtifacts/**
|
||||||
downloadPath: '$(Build.ArtifactStagingDirectory)'
|
downloadPath: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
checkDownloadedFiles: true
|
||||||
|
|
||||||
# This is necessary whenever we want to publish/restore to an AzDO private feed
|
# This is necessary whenever we want to publish/restore to an AzDO private feed
|
||||||
# Since sdk-task.ps1 tries to restore packages we need to do this authentication here
|
# Since sdk-task.ps1 tries to restore packages we need to do this authentication here
|
||||||
|
@ -123,6 +124,7 @@ stages:
|
||||||
BlobArtifacts/**
|
BlobArtifacts/**
|
||||||
AssetManifests/**
|
AssetManifests/**
|
||||||
downloadPath: '$(Build.ArtifactStagingDirectory)'
|
downloadPath: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
checkDownloadedFiles: true
|
||||||
|
|
||||||
- task: NuGetToolInstaller@1
|
- task: NuGetToolInstaller@1
|
||||||
displayName: 'Install NuGet.exe'
|
displayName: 'Install NuGet.exe'
|
||||||
|
|
|
@ -117,6 +117,7 @@ stages:
|
||||||
pipeline: $(AzDOPipelineId)
|
pipeline: $(AzDOPipelineId)
|
||||||
buildId: $(AzDOBuildId)
|
buildId: $(AzDOBuildId)
|
||||||
artifactName: PackageArtifacts
|
artifactName: PackageArtifacts
|
||||||
|
checkDownloadedFiles: true
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: Validate
|
displayName: Validate
|
||||||
|
@ -149,6 +150,7 @@ stages:
|
||||||
pipeline: $(AzDOPipelineId)
|
pipeline: $(AzDOPipelineId)
|
||||||
buildId: $(AzDOBuildId)
|
buildId: $(AzDOBuildId)
|
||||||
artifactName: PackageArtifacts
|
artifactName: PackageArtifacts
|
||||||
|
checkDownloadedFiles: true
|
||||||
itemPattern: |
|
itemPattern: |
|
||||||
**
|
**
|
||||||
!**/Microsoft.SourceBuild.Intermediate.*.nupkg
|
!**/Microsoft.SourceBuild.Intermediate.*.nupkg
|
||||||
|
@ -205,6 +207,7 @@ stages:
|
||||||
pipeline: $(AzDOPipelineId)
|
pipeline: $(AzDOPipelineId)
|
||||||
buildId: $(AzDOBuildId)
|
buildId: $(AzDOBuildId)
|
||||||
artifactName: BlobArtifacts
|
artifactName: BlobArtifacts
|
||||||
|
checkDownloadedFiles: true
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: Validate
|
displayName: Validate
|
||||||
|
|
|
@ -18,6 +18,7 @@ jobs:
|
||||||
inputs:
|
inputs:
|
||||||
buildType: current
|
buildType: current
|
||||||
artifactName: ReleaseConfigs
|
artifactName: ReleaseConfigs
|
||||||
|
checkDownloadedFiles: true
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
name: setReleaseVars
|
name: setReleaseVars
|
||||||
|
|
|
@ -8,6 +8,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"msbuild-sdks": {
|
"msbuild-sdks": {
|
||||||
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.21155.1"
|
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.21160.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue