Skip to content

Commit 203d11f

Browse files
authored
Merge pull request #8762 from dotnet/darc-main-0b91fd41-3be2-4e1e-81e0-c48d3d238f51
[main] Update dependencies from dotnet/arcade
2 parents de8d791 + 3908bc0 commit 203d11f

File tree

14 files changed

+51
-35
lines changed

14 files changed

+51
-35
lines changed

azure-pipelines-compiler.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ stages:
191191
- job: Linux
192192
pool:
193193
${{ if or(ne(variables['System.TeamProject'], 'internal'), in(variables['Build.Reason'], 'Manual', 'PullRequest', 'Schedule')) }}:
194-
vmImage: ubuntu-latest
194+
name: NetCore-Public
195+
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
195196
${{ if and(eq(variables['System.TeamProject'], 'internal'), notin(variables['Build.Reason'], 'Manual', 'PullRequest', 'Schedule')) }}:
196197
name: NetCore1ESPool-Internal
197198
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64

azure-pipelines.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,11 +358,12 @@ stages:
358358

359359
- job: Linux
360360
container:
361-
image: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7
361+
image: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8
362362
options: --init # This ensures all the stray defunct processes are reaped.
363363
pool:
364364
${{ if eq(variables['System.TeamProject'], 'public') }}:
365-
vmImage: ubuntu-latest
365+
name: NetCore-Public
366+
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
366367
${{ if eq(variables['System.TeamProject'], 'internal') }}:
367368
name: $(DncEngInternalBuildPool)
368369
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64

build.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@echo off
22
setlocal
33

4-
set _args=-restore -build /p:TreatWarningsAsErrors=true %*
4+
set _args=-restore -build /p:_SelfContainedWasSpecified=true %*
55
if "%~1"=="-?" set _args=-help
66

77
powershell -ExecutionPolicy ByPass -NoProfile -Command "& '%~dp0eng\common\build.ps1'" %_args%

eng/AfterSigning.targets

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
<Delete Files="%(LanguageServiceBinary.ZipFile)" />
4040

4141
<!-- Build a .zip file from each platform's directory and write it to 'artifacts' -->
42-
<Exec Command="$(_DotNetPath) pwsh -NonInteractive -command &quot;&amp;{ Write-Host &quot;Writing %(LanguageServiceBinary.ZipFile)...&quot; ; Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::CreateFromDirectory('%(LanguageServiceBinary.SourceDir)', '%(LanguageServiceBinary.ZipFile)') }&quot;"
43-
WorkingDirectory="$(MSBuildThisFileDirectory)..\" />
42+
<ZipDirectory SourceDirectory="%(LanguageServiceBinary.SourceDir)" DestinationFile="%(LanguageServiceBinary.ZipFile)" />
4443
</Target>
4544
</Project>

eng/Version.Details.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,19 +94,19 @@
9494
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-runtime</Uri>
9595
<Sha>3a25a7f1cc446b60678ed25c9d829420d6321eba</Sha>
9696
</Dependency>
97-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.23269.2">
97+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.23320.3">
9898
<Uri>https://github.com/dotnet/arcade</Uri>
99-
<Sha>792c346a52b2388152c2fad6f626b88ed8736d6f</Sha>
99+
<Sha>06d73ccc1f421af06c2794741a9913f474f66b3d</Sha>
100100
<SourceBuild RepoName="arcade" ManagedOnly="true" />
101101
</Dependency>
102-
<Dependency Name="Microsoft.SourceLink.GitHub" Version="8.0.0-beta.23252.2" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
102+
<Dependency Name="Microsoft.SourceLink.GitHub" Version="8.0.0-beta.23314.2" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
103103
<Uri>https://github.com/dotnet/sourcelink</Uri>
104-
<Sha>54eb3b811c57f5e94617d31a102fc9cb664ccdd5</Sha>
104+
<Sha>4d2c8bf58e8cb7900ec2d9077c155572e2d3cd88</Sha>
105105
<SourceBuild RepoName="sourcelink" ManagedOnly="true" />
106106
</Dependency>
107-
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.23266.1" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
107+
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.23312.2" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
108108
<Uri>https://github.com/dotnet/xliff-tasks</Uri>
109-
<Sha>9e7fbcab4e5275f63c0cd37553ba426de9194309</Sha>
109+
<Sha>4234ffac87e305da80597cb46dc0d4a87fc4f7c2</Sha>
110110
<SourceBuild RepoName="xliff-tasks" ManagedOnly="true" />
111111
</Dependency>
112112
<!-- Necessary for source-build. This allows Microsoft.Extensions.ObjectPool and System.Collections.Immutable packages

eng/Versions.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
<MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>4.7.0-3.23314.5</MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>
7272
<MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>4.7.0-3.23314.5</MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>
7373
<MicrosoftVisualStudioLanguageServicesPackageVersion>4.7.0-3.23314.5</MicrosoftVisualStudioLanguageServicesPackageVersion>
74-
<MicrosoftSourceLinkGitHubPackageVersion>8.0.0-beta.23252.2</MicrosoftSourceLinkGitHubPackageVersion>
75-
<MicrosoftDotNetXliffTasksPackageVersion>1.0.0-beta.23266.1</MicrosoftDotNetXliffTasksPackageVersion>
74+
<MicrosoftSourceLinkGitHubPackageVersion>8.0.0-beta.23314.2</MicrosoftSourceLinkGitHubPackageVersion>
75+
<MicrosoftDotNetXliffTasksPackageVersion>1.0.0-beta.23312.2</MicrosoftDotNetXliffTasksPackageVersion>
7676
<!--
7777
Exception - Microsoft.Extensions.ObjectPool and System.Collections.Immutable packages are not updated by automation,
7878
but are present in Version.Details.xml for source-build PVP flow. See the comment in Version.Details.xml for more information.

eng/common/dotnet-install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ cpuname=$(uname -m)
5454
case $cpuname in
5555
arm64|aarch64)
5656
buildarch=arm64
57+
if [ "$(getconf LONG_BIT)" -lt 64 ]; then
58+
# This is 32-bit OS running on 64-bit CPU (for example Raspberry Pi OS)
59+
buildarch=arm
60+
fi
5761
;;
5862
loongarch64)
5963
buildarch=loongarch64

eng/common/sdk-task.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ try {
6464
$GlobalJson.tools | Add-Member -Name "vs" -Value (ConvertFrom-Json "{ `"version`": `"16.5`" }") -MemberType NoteProperty
6565
}
6666
if( -not ($GlobalJson.tools.PSObject.Properties.Name -match "xcopy-msbuild" )) {
67-
$GlobalJson.tools | Add-Member -Name "xcopy-msbuild" -Value "17.4.1" -MemberType NoteProperty
67+
$GlobalJson.tools | Add-Member -Name "xcopy-msbuild" -Value "17.6.0-2" -MemberType NoteProperty
6868
}
6969
if ($GlobalJson.tools."xcopy-msbuild".Trim() -ine "none") {
7070
$xcopyMSBuildToolsFolder = InitializeXCopyMSBuild $GlobalJson.tools."xcopy-msbuild" -install $true

eng/common/templates/job/job.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ jobs:
7575
- ${{ if eq(parameters.enableRichCodeNavigation, 'true') }}:
7676
- name: EnableRichCodeNavigation
7777
value: 'true'
78+
# Retry signature validation up to three times, waiting 2 seconds between attempts.
79+
# See https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu3028#retry-untrusted-root-failures
80+
- name: NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY
81+
value: 3,2000
7882
- ${{ each variable in parameters.variables }}:
7983
# handle name-value variable syntax
8084
# example:
@@ -83,7 +87,7 @@ jobs:
8387
- ${{ if ne(variable.name, '') }}:
8488
- name: ${{ variable.name }}
8589
value: ${{ variable.value }}
86-
90+
8791
# handle variable groups
8892
- ${{ if ne(variable.group, '') }}:
8993
- group: ${{ variable.group }}
@@ -169,7 +173,7 @@ jobs:
169173
- ${{ if eq(parameters.enableMicrobuild, 'true') }}:
170174
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
171175
- task: MicroBuildCleanup@1
172-
displayName: Execute Microbuild cleanup tasks
176+
displayName: Execute Microbuild cleanup tasks
173177
condition: and(always(), in(variables['_SignType'], 'real', 'test'), eq(variables['Agent.Os'], 'Windows_NT'))
174178
continueOnError: ${{ parameters.continueOnError }}
175179
env:
@@ -219,7 +223,7 @@ jobs:
219223
displayName: Publish XUnit Test Results
220224
inputs:
221225
testResultsFormat: 'xUnit'
222-
testResultsFiles: '*.xml'
226+
testResultsFiles: '*.xml'
223227
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'
224228
testRunTitle: ${{ coalesce(parameters.testRunTitle, parameters.name, '$(System.JobName)') }}-xunit
225229
mergeTestResults: ${{ parameters.mergeTestResults }}
@@ -230,7 +234,7 @@ jobs:
230234
displayName: Publish TRX Test Results
231235
inputs:
232236
testResultsFormat: 'VSTest'
233-
testResultsFiles: '*.trx'
237+
testResultsFiles: '*.trx'
234238
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'
235239
testRunTitle: ${{ coalesce(parameters.testRunTitle, parameters.name, '$(System.JobName)') }}-trx
236240
mergeTestResults: ${{ parameters.mergeTestResults }}

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ steps:
6868
runtimeOsArgs='/p:RuntimeOS=${{ parameters.platform.runtimeOS }}'
6969
fi
7070
71+
baseOsArgs=
72+
if [ '${{ parameters.platform.baseOS }}' != '' ]; then
73+
baseOsArgs='/p:BaseOS=${{ parameters.platform.baseOS }}'
74+
fi
75+
7176
publishArgs=
7277
if [ '${{ parameters.platform.skipPublishValidation }}' != 'true' ]; then
7378
publishArgs='--publish'
@@ -86,6 +91,7 @@ steps:
8691
$internalRestoreArgs \
8792
$targetRidArgs \
8893
$runtimeOsArgs \
94+
$baseOsArgs \
8995
/p:SourceBuildNonPortable=${{ parameters.platform.nonPortable }} \
9096
/p:ArcadeBuildFromSource=true \
9197
/p:AssetManifestFileName=$assetManifestFileName

0 commit comments

Comments
 (0)