Skip to content

Commit 32d3f5f

Browse files
Merge branch 'main' into mbuck/passkeys
2 parents e23320c + 3628f0b commit 32d3f5f

File tree

57 files changed

+824
-421
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+824
-421
lines changed

.github/policies/resourceManagement.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,6 @@ configuration:
239239
- titleContains:
240240
pattern: Source code updates
241241
isRegex: False
242-
- targetsBranch:
243-
branch: main
244242
then:
245243
- addLabel:
246244
label: area-infrastructure

.github/workflows/backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
backport:
17-
uses: dotnet/arcade/.github/workflows/backport-base.yml@080e393ba794356ef2b743cc89481774c4a26656 # 2025-01-13
17+
uses: dotnet/arcade/.github/workflows/backport-base.yml@fdcda9b4919dd16bd2388b5421cc5d55afac0e88 # 2025-01-13
1818
with:
1919
pr_description_template: |
2020
Backport of #%source_pr_number% to %target_branch%

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on: workflow_dispatch
66
jobs:
77
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
88
copilot-setup-steps:
9-
runs-on: ubuntu-latest
9+
runs-on: 8-core-ubuntu-latest
1010

1111
permissions:
1212
contents: read

.github/workflows/inter-branch-merge-flow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ permissions:
1010

1111
jobs:
1212
Merge:
13-
uses: dotnet/arcade/.github/workflows/backport-base.yml@080e393ba794356ef2b743cc89481774c4a26656 # 2024-06-24
13+
uses: dotnet/arcade/.github/workflows/backport-base.yml@fdcda9b4919dd16bd2388b5421cc5d55afac0e88 # 2024-06-24

eng/Common.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
- If we're building outside of the VMR, publish these assets from the Windows job.
4545
- If we're building inside the VMR, publish these assets from whichever job is producing non-RID-specific artifacts.
4646
-->
47-
<PublishAllBuildsAssetsInThisJob Condition="('$(OS)' == 'Windows_NT' and '$(DotNetBuildOrchestrator)' != 'true')
48-
or ('$(DotNetBuildOrchestrator)' == 'true' and '$(EnableDefaultRidSpecificArtifacts)' != 'true'
47+
<PublishAllBuildsAssetsInThisJob Condition="('$(OS)' == 'Windows_NT' and '$(DotNetBuildFromVMR)' != 'true')
48+
or ('$(DotNetBuildFromVMR)' == 'true' and '$(EnableDefaultRidSpecificArtifacts)' != 'true'
4949
and ('$(DotNetBuildPass)' == '' or '$(DotNetBuildPass)' == '1'))">true</PublishAllBuildsAssetsInThisJob>
5050
<PublishInstallerBaseVersion Condition="'$(PublishInstallerBaseVersion)' == ''">$(PublishAllBuildsAssetsInThisJob)</PublishInstallerBaseVersion>
5151
</PropertyGroup>

eng/Version.Details.xml

Lines changed: 182 additions & 194 deletions
Large diffs are not rendered by default.

eng/Versions.props

Lines changed: 88 additions & 90 deletions
Large diffs are not rendered by default.

eng/build.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ Key for feed that can be used when downloading .NET runtimes and SDKs
102102
.PARAMETER ProductBuild
103103
Build the repository in product mode (short: -pb).
104104
105+
.PARAMETER fromVMR
106+
Set when building from within the VMR.
107+
105108
.EXAMPLE
106109
Building both native and managed projects.
107110
@@ -203,6 +206,9 @@ param(
203206
[Alias('pb')]
204207
[switch]$ProductBuild,
205208

209+
# Intentionally lowercase as tools.ps1 depends on it
210+
[switch]$fromVMR,
211+
206212
# Capture the rest
207213
[Parameter(ValueFromRemainingArguments = $true)]
208214
[string[]]$MSBuildArguments
@@ -283,6 +289,7 @@ $MSBuildArguments += "/p:TargetArchitecture=$Architecture"
283289
$MSBuildArguments += "/p:TargetOsName=win"
284290

285291
if ($ProductBuild) { $MSBuildArguments += "/p:DotNetBuild=$ProductBuild" }
292+
if ($fromVMR) { $MSBuildArguments += "/p:DotNetBuildFromVMR=$fromVMR" }
286293

287294
if (-not $Configuration) {
288295
$Configuration = if ($CI) { 'Release' } else { 'Debug' }
@@ -299,6 +306,7 @@ if ($RuntimeSourceFeed -or $RuntimeSourceFeedKey) {
299306
$ToolsetBuildArguments += $runtimeFeedKeyArg
300307
}
301308
if ($ProductBuild) { $ToolsetBuildArguments += "/p:DotNetBuild=$ProductBuild" }
309+
if ($fromVMR) { $ToolsetBuildArguments += "/p:DotNetBuildFromVMR=$fromVMR" }
302310

303311
# Split build categories between dotnet msbuild and desktop msbuild. Use desktop msbuild as little as possible.
304312
[string[]]$dotnetBuildArguments = ''

eng/build.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ runtime_source_feed=''
3737
runtime_source_feed_key=''
3838
source_build=''
3939
product_build=''
40+
from_vmr=''
4041
warn_as_error=true
42+
from_vmr=''
4143

4244
if [ "$(uname)" = "Darwin" ]; then
4345
target_os_name='osx'
@@ -94,6 +96,7 @@ Options:
9496
9597
--sourceBuild|-sb Build the repository in source-only mode.
9698
--productBuild|-pb Build the repository in product-build mode.
99+
--fromVMR Set when building from within the VMR.
97100
98101
Description:
99102
This build script installs required tools and runs an MSBuild command on this repository
@@ -261,6 +264,9 @@ while [[ $# -gt 0 ]]; do
261264
-productbuild|-product-build|-pb)
262265
product_build=true
263266
;;
267+
-fromvmr|-from-vmr)
268+
from_vmr=true
269+
;;
264270
-warnaserror)
265271
shift
266272
[ -z "${1:-}" ] && __error "Missing value for parameter --warnaserror" && __usage
@@ -325,6 +331,7 @@ fi
325331
[ ! -z "$build_installers" ] && msbuild_args[${#msbuild_args[*]}]="-p:BuildInstallers=$build_installers"
326332
[ ! -z "$product_build" ] && msbuild_args[${#msbuild_args[*]}]="-p:DotNetBuild=$product_build"
327333
[ ! -z "$source_build" ] && msbuild_args[${#msbuild_args[*]}]="-p:DotNetBuildSourceOnly=$source_build"
334+
[ ! -z "$from_vmr" ] && msbuild_args[${#msbuild_args[*]}]="-p:DotNetBuildFromVMR=$from_vmr"
328335

329336
# Run restore by default unless --no-restore or --no-build was specified.
330337
[ -z "$run_restore" ] && run_restore=true
@@ -363,6 +370,7 @@ if [ ! -z "$runtime_source_feed$runtime_source_feed_key" ]; then
363370
fi
364371
[ ! -z "$product_build" ] && toolset_build_args[${#toolset_build_args[*]}]="-p:DotNetBuild=$product_build"
365372
[ ! -z "$source_build" ] && toolset_build_args[${#toolset_build_args[*]}]="-p:DotNetBuildSourceOnly=$source_build"
373+
[ ! -z "$from_vmr" ] && toolset_build_args[${#toolset_build_args[*]}]="-p:DotNetBuildFromVMR=$from_vmr"
366374

367375
# Initialize global variables need to be set before the import of Arcade is imported
368376
restore=$run_restore

eng/common/build.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Param(
2121
[switch] $publish,
2222
[switch] $clean,
2323
[switch][Alias('pb')]$productBuild,
24+
[switch]$fromVMR,
2425
[switch][Alias('bl')]$binaryLog,
2526
[switch][Alias('nobl')]$excludeCIBinarylog,
2627
[switch] $ci,
@@ -74,6 +75,7 @@ function Print-Usage() {
7475
Write-Host " -nativeToolsOnMachine Sets the native tools on machine environment variable (indicating that the script should use native tools on machine)"
7576
Write-Host " -nodeReuse <value> Sets nodereuse msbuild parameter ('true' or 'false')"
7677
Write-Host " -buildCheck Sets /check msbuild parameter"
78+
Write-Host " -fromVMR Set when building from within the VMR"
7779
Write-Host ""
7880

7981
Write-Host "Command line arguments not listed above are passed thru to msbuild."
@@ -128,6 +130,7 @@ function Build {
128130
/p:Test=$test `
129131
/p:Pack=$pack `
130132
/p:DotNetBuild=$productBuild `
133+
/p:DotNetBuildFromVMR=$fromVMR `
131134
/p:IntegrationTest=$integrationTest `
132135
/p:PerformanceTest=$performanceTest `
133136
/p:Sign=$sign `

0 commit comments

Comments
 (0)