Skip to content

Commit 64b5915

Browse files
[main] Source code updates from dotnet/dotnet (#1240)
* Update dependencies from https://github.com/dotnet/dotnet * Update dependencies from https://github.com/dotnet/dotnet * Update dependencies from https://github.com/dotnet/dotnet * Update dependencies from https://github.com/dotnet/dotnet * Update dependencies from https://github.com/dotnet/dotnet * Remove SB intermediates and baseline --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Viktor Hofer <[email protected]>
1 parent 7dba7d3 commit 64b5915

8 files changed

+15
-37
lines changed

eng/SourceBuildPrebuiltBaseline.xml

-11
This file was deleted.

eng/Version.Details.xml

+5-17
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,14 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Dependencies>
3-
<Source Uri="https://github.com/dotnet/dotnet" Mapping="source-build-reference-packages" Sha="721dc7a2a59416b21fc49447d264009d708d6000" BarId="265489" />
3+
<Source Uri="https://github.com/dotnet/dotnet" Mapping="source-build-reference-packages" Sha="efbfb137a317fb339a6b7be36af7188cc508dc95" BarId="266095" />
44
<ToolsetDependencies>
5-
<!-- Intermediate is necessary for source build. -->
6-
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-externals" Version="10.0.621401">
7-
<Uri>https://github.com/dotnet/source-build-externals</Uri>
8-
<Sha>d64d8da45618323a39fb77860d1140bdbcd506ad</Sha>
9-
<SourceBuild RepoName="source-build-externals" ManagedOnly="true" />
10-
</Dependency>
11-
<!-- Intermediate is necessary for source build. -->
12-
<Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="10.0.0-beta.25222.2">
13-
<Uri>https://github.com/dotnet/arcade</Uri>
14-
<Sha>80d7b4ee29c31c0886b139ad02d85da48b543cd6</Sha>
15-
<SourceBuild RepoName="arcade" ManagedOnly="true" />
16-
</Dependency>
17-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.25223.119">
5+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.25228.104">
186
<Uri>https://github.com/dotnet/dotnet</Uri>
19-
<Sha>721dc7a2a59416b21fc49447d264009d708d6000</Sha>
7+
<Sha>efbfb137a317fb339a6b7be36af7188cc508dc95</Sha>
208
</Dependency>
21-
<Dependency Name="Microsoft.DotNet.GenAPI.Task" Version="10.0.100-preview.5.25223.119">
9+
<Dependency Name="Microsoft.DotNet.GenAPI.Task" Version="10.0.100-preview.5.25228.104">
2210
<Uri>https://github.com/dotnet/dotnet</Uri>
23-
<Sha>721dc7a2a59416b21fc49447d264009d708d6000</Sha>
11+
<Sha>efbfb137a317fb339a6b7be36af7188cc508dc95</Sha>
2412
</Dependency>
2513
<Dependency Name="Microsoft.NETCore.ILAsm" Version="5.0.0-preview.4.20202.18">
2614
<Uri>https://github.com/dotnet/runtime</Uri>

eng/Versions.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<MicrosoftNETCoreILAsmVersion>6.0.0-preview.6.21352.12</MicrosoftNETCoreILAsmVersion>
1818
<MicrosoftNETCoreILDAsmVersion>6.0.0-preview.6.21352.12</MicrosoftNETCoreILDAsmVersion>
1919
<!-- SDK dependencies -->
20-
<MicrosoftDotNetGenAPITaskPackageVersion>10.0.100-preview.5.25223.119</MicrosoftDotNetGenAPITaskPackageVersion>
20+
<MicrosoftDotNetGenAPITaskPackageVersion>10.0.100-preview.5.25228.104</MicrosoftDotNetGenAPITaskPackageVersion>
2121
<!-- xUnit dependencies -->
2222
<XunitSkippableFactVersion>1.4.13</XunitSkippableFactVersion>
2323
</PropertyGroup>

eng/common/core-templates/job/source-build.yml

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ parameters:
2727
# Specifies the build script to invoke to perform the build in the repo. The default
2828
# './build.sh' should work for typical Arcade repositories, but this is customizable for
2929
# difficult situations.
30+
# buildArguments: ''
31+
# Specifies additional build arguments to pass to the build script.
3032
# jobProperties: {}
3133
# A list of job properties to inject at the top level, for potential extensibility beyond
3234
# container and pool.

eng/common/core-templates/jobs/jobs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
${{ parameter.key }}: ${{ parameter.value }}
9797

9898
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
99-
- ${{ if or(eq(parameters.enablePublishBuildAssets, true), eq(parameters.artifacts.publish.manifests, 'true'), ne(parameters.artifacts.publish.manifests, '')) }}:
99+
- ${{ if or(eq(parameters.enablePublishBuildAssets, true), eq(parameters.artifacts.publish.manifests, 'true'), ne(parameters.artifacts.publish.manifests, ''), eq(parameters.isAssetlessBuild, true)) }}:
100100
- template: ../job/publish-build-assets.yml
101101
parameters:
102102
is1ESPipeline: ${{ parameters.is1ESPipeline }}
@@ -112,7 +112,7 @@ jobs:
112112
- Source_Build_Complete
113113

114114
runAsPublic: ${{ parameters.runAsPublic }}
115-
publishAssetsImmediately: ${{ parameters.publishAssetsImmediately }}
115+
publishAssetsImmediately: ${{ or(parameters.publishAssetsImmediately, parameters.isAssetlessBuild) }}
116116
isAssetlessBuild: ${{ parameters.isAssetlessBuild }}
117117
enablePublishBuildArtifacts: ${{ parameters.enablePublishBuildArtifacts }}
118118
artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }}

eng/common/core-templates/steps/source-build.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ steps:
8484
${{ coalesce(parameters.platform.buildScript, './build.sh') }} --ci \
8585
--configuration $buildConfig \
8686
--restore --build --pack $publishArgs -bl \
87+
${{ parameters.platform.buildArguments }} \
8788
$officialBuildArgs \
8889
$internalRuntimeDownloadArgs \
8990
$internalRestoreArgs \
@@ -93,9 +94,7 @@ steps:
9394
$portableBuildArgs \
9495
/p:DotNetBuildSourceOnly=true \
9596
/p:DotNetBuildRepo=true \
96-
/p:AssetManifestFileName=$assetManifestFileName \
97-
/p:SetUpSourceBuildIntermediateNupkgCache=false \
98-
/p:ReportPrebuiltUsage=false
97+
/p:AssetManifestFileName=$assetManifestFileName
9998
displayName: Build
10099

101100
# Upload build logs for diagnosis.

eng/common/core-templates/steps/source-index-stage1-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
parameters:
2-
sourceIndexUploadPackageVersion: 2.0.0-20240522.1
3-
sourceIndexProcessBinlogPackageVersion: 1.0.1-20240522.1
2+
sourceIndexUploadPackageVersion: 2.0.0-20250425.2
3+
sourceIndexProcessBinlogPackageVersion: 1.0.1-20250425.2
44
sourceIndexPackageSource: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
55
binlogPath: artifacts/log/Debug/Build.binlog
66

global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"dotnet": "10.0.100-preview.3.25201.16"
44
},
55
"msbuild-sdks": {
6-
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25223.119",
6+
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25228.104",
77
"Microsoft.Build.NoTargets": "3.7.0"
88
}
99
}

0 commit comments

Comments
 (0)