Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
942 commits
Select commit Hold shift + click to select a range
6429fb7
Fix PortableRid default for cross-build source-builds. (#18854)
tmds Mar 5, 2024
400e737
Refactor ArtifactsSizeTest to emit updated baseline with only breakin…
MichaelSimons Mar 5, 2024
397a29e
Update link to copied source
jtschuster Mar 5, 2024
a1e856a
Remove conditions on tasks
jtschuster Mar 5, 2024
ff67367
Use "Closest" sdk instead of "Latest"
jtschuster Mar 5, 2024
6b4b4c5
Pass TargetRid to Razor's build for the VMR (#18843)
jkoritzinsky Mar 5, 2024
bf521a3
Update missed reference
jtschuster Mar 6, 2024
948cbed
Merge branch 'release/8.0.1xx' into release/8.0.2xx
Mar 6, 2024
ea25390
Remove ArcadeBuildVertical parameter (#18889)
mmitche Mar 6, 2024
3a9fdcf
Scripts to restore commonly changes files (#18578)
mmitche Mar 6, 2024
73e7e7b
PR Feedback: Formatting, move/add conditions, output diffs to csv in …
jtschuster Mar 6, 2024
5452865
Update src/SourceBuild/content/eng/sdkArchiveDiffs.targets
jtschuster Mar 6, 2024
2637472
Fix typo
jtschuster Mar 6, 2024
80cfc69
Use remote file name for downloaded sdk
jtschuster Mar 6, 2024
e77620a
Add args to WriteLinesToFile
jtschuster Mar 6, 2024
379f7a0
Use .diff instead of csv for sdk content diffs
jtschuster Mar 6, 2024
7eeef8a
Use Item transform instead of batching to output lines to file
jtschuster Mar 7, 2024
909224e
Merge branch 'release/8.0.2xx' into release/8.0.3xx
Mar 7, 2024
ab574a6
[automated] Merge branch 'release/8.0.2xx' => 'release/8.0.3xx' (#18896)
v-wuzhai Mar 7, 2024
52c05ff
Merge branch 'release/8.0.3xx'
Mar 7, 2024
f401a34
Add SdkArchiveDiff task to verify the sdk archive has all the expecte…
jtschuster Mar 7, 2024
d8c3da6
Update build.proj to make the build mode clearer (#18913)
ViktorHofer Mar 7, 2024
5512994
Exclude archive diff target on pgo leg
jtschuster Mar 8, 2024
222e1db
[automated] Merge branch 'release/8.0.3xx' => 'main' (#18901)
v-wuzhai Mar 8, 2024
781b06f
Exclude archive diff target on pgo leg (#18918)
jtschuster Mar 8, 2024
e33fca5
Rebootstrap SB SDK/artifacts (#18763)
mthalman Mar 8, 2024
1e1ed55
Enable parallel builds across repos of VMR (#18824)
mthalman Mar 8, 2024
795234a
Build sdkArchiveDiff only when we'll run it (#18930)
jtschuster Mar 9, 2024
c23511c
[main] Update dependencies from dotnet/sdk (#18916)
dotnet-maestro[bot] Mar 10, 2024
ed0cef5
Revert "Rebootstrap SB SDK/artifacts" (#18964)
mthalman Mar 11, 2024
5461b36
Enable msbuild in the unified build (#18770)
ViktorHofer Mar 12, 2024
0b90782
Binary tooling (#18726)
ellahathaway Mar 12, 2024
a40e2d3
Merge branch 'main' of https://github.com/dotnet/installer
jtschuster Mar 12, 2024
09acf59
Merge commit '6a90b4b4bc6034fa0cf75368f0ccb9ed98b4651c' into internal…
vseanreesermsft Mar 12, 2024
0db4751
Only msbuild code formatting (#18801)
ViktorHofer Mar 13, 2024
df834b5
Create test project for Unified Build validation
jtschuster Mar 13, 2024
9ed273a
Merge in 'release/8.0.1xx' changes
dotnet-bot Mar 14, 2024
b4e19b0
.NET Source-Build 8.0.103 March 2024 Updates (#19007)
dotnet-sb-bot Mar 14, 2024
8d779fb
Merge in 'release/8.0.1xx' changes
dotnet-bot Mar 14, 2024
86e3e08
Merge branch 'release/8.0.1xx' into release/8.0.2xx
Mar 15, 2024
e800c70
[release/8.0.1xx] Add PR version of VMR pipelines (#19064)
premun Mar 15, 2024
6c68a4b
Merge in 'release/8.0.1xx' changes
dotnet-bot Mar 15, 2024
77714bb
Move the source-build script back to the root of the repo (#19059)
MichaelSimons Mar 15, 2024
fdcd982
Enable publishing in VMR (#18917)
NikolaMilosavljevic Mar 15, 2024
283cc09
Add a PR version of VMR pipelines (#19063)
premun Mar 15, 2024
a8339ca
[main] Update dependencies from dotnet/sdk (#19065)
dotnet-maestro[bot] Mar 15, 2024
60b7e93
Add WindowsDesktop dependency from sdk.proj (#19071)
mmitche Mar 15, 2024
7aab062
Change default for MinimalConsoleLogOutput (#19070)
ViktorHofer Mar 15, 2024
c5c3e1f
Condition copy inner built restore package on source-build (#19072)
ViktorHofer Mar 15, 2024
6f19e8a
Move sdkArchiveDiff into installer.proj (#19069)
ViktorHofer Mar 15, 2024
2f21eaa
Update SDK diff and artifacts sizes baseline (#19066)
mthalman Mar 18, 2024
81065ff
Add initial SDK test project for unified build
jtschuster Mar 18, 2024
2a2bff0
Merge branch 'main' of https://github.com/dotnet/installer into TestP…
jtschuster Mar 18, 2024
4bbe8a1
Remove old PackageDiff and reference test runner in installer.proj
jtschuster Mar 18, 2024
be93baa
Support building with desktop msbuild (#19095)
ViktorHofer Mar 19, 2024
4b32f42
Fix capilization issue with file name
jtschuster Mar 19, 2024
3b2111b
Revert changes from existing smoke tests
jtschuster Mar 19, 2024
2744d83
Don't run old sdk validation, restore test project in init-build.proj
jtschuster Mar 19, 2024
3274145
Revert changes from existing smoke tests
jtschuster Mar 19, 2024
0fbeccd
Keep building sdkArchiveDiff tasks for finding the single sdk. We'll …
jtschuster Mar 19, 2024
6999b8a
Remove assemblies that aren't in both sdk's from version validation
jtschuster Mar 19, 2024
651ad83
Remove the format repo which was merged into sdk (#19113)
MichaelSimons Mar 20, 2024
9d1788d
Clean up testing and move sdk download to test project
jtschuster Mar 20, 2024
2fddc08
Add linux file diff exclusions
jtschuster Mar 20, 2024
32c3bde
Updates to Binary Tooling (#19043)
ellahathaway Mar 20, 2024
a6dd495
Merge branch 'main' into TestProjectValidation
jtschuster Mar 20, 2024
ae69c6e
Fix env var mismatch
jtschuster Mar 21, 2024
7cb615f
Update baselines with correct msft and ub sdks
jtschuster Mar 21, 2024
c6534fd
Update assets, log sdk download info during setup
jtschuster Mar 21, 2024
6044b6c
PR feedback
jtschuster Mar 21, 2024
302dad1
Additional Binary Exclusions (#19135)
ellahathaway Mar 22, 2024
aa93066
Use package source mappings in VMR build (#19114)
NikolaMilosavljevic Mar 22, 2024
358a056
Use one env var to work around msbuild escaping
jtschuster Mar 22, 2024
88ffa93
Allow Winforms binary in VMR (#19155)
ellahathaway Mar 22, 2024
4714a12
Update artifact sizes baseline
ellahathaway Mar 22, 2024
39742bb
Allow new WPF binaries in the VMR (#19154)
ellahathaway Mar 22, 2024
2446438
Merge branch 'main' of https://github.com/dotnet/installer into TestP…
jtschuster Mar 22, 2024
8d4a931
Enable vstest in VMR unified-build (#19030)
ViktorHofer Mar 24, 2024
95e6804
Migrate VMR-related pipelines to 1ES templates (#19100)
premun Mar 25, 2024
26025f3
Update artifacts sizes baseline (#19157)
oleksandr-didyk Mar 25, 2024
07f5e45
Remove SBE license entry from baseline (#18968)
mthalman Mar 25, 2024
79c36b9
Allow additional wpf binary (#19182)
ellahathaway Mar 25, 2024
c9a451c
Apply suggestions from code review
jtschuster Mar 25, 2024
b1f8205
Merge branch 'TestProjectValidation' of https://github.com/jtschuster…
jtschuster Mar 25, 2024
c21cbd1
PR feedback
jtschuster Mar 25, 2024
2e336f2
Arcade and Runtime Doc License Exceptions (#19183)
ellahathaway Mar 25, 2024
bb977b5
Add 1ES PT baselines for the VMR (#19192)
premun Mar 26, 2024
cfc596b
Create and publish VerticalAssetManifest (#19062)
dkurepa Mar 26, 2024
e1afb0a
Update scancode to 32.1.0 (#19185)
ellahathaway Mar 26, 2024
34cee15
PR Feedback: Use Arcade SDK to get test parameters without passing fr…
jtschuster Mar 26, 2024
2b9bbba
Enable aspnetcore in unified-build (#19167)
ViktorHofer Mar 26, 2024
559e580
Merge branch 'main' into TestProjectValidation
jtschuster Mar 26, 2024
60bf813
Fix imports issue with test project
jtschuster Mar 26, 2024
d4dc6b8
Uncommit unnecessary file and remove buildprops template fluff
jtschuster Mar 26, 2024
c62049a
Enable publishing in aspnetcore VMR builds (#19205)
mmitche Mar 27, 2024
488060e
Unify tasks and their namespaces to UnifiedBuild (#19210)
ViktorHofer Mar 27, 2024
2d9edda
[main] Update dependencies from dotnet/arcade (#19194)
dotnet-maestro[bot] Mar 27, 2024
36d8f7e
Fix vmr build number (#19217)
dkurepa Mar 27, 2024
4bc4899
PR Feedback:
jtschuster Mar 27, 2024
7f6cbc4
Merge branch 'main' into TestProjectValidation
jtschuster Mar 27, 2024
30d6a17
Cloak Non-OSS licensed Winforms test (#19218)
ellahathaway Mar 27, 2024
cee3995
Scan binaries for licenses (#19206)
ellahathaway Mar 27, 2024
421dc22
Merge branch 'main' of https://github.com/dotnet/installer into TestP…
jtschuster Mar 27, 2024
787c74e
Hardcode path to test project in restore
jtschuster Mar 27, 2024
fe53f53
Update linux baseline
jtschuster Mar 28, 2024
5fef7a6
add missing using statement
oleksandr-didyk Mar 28, 2024
c4fd8b8
Don't fail build on failing test
jtschuster Mar 28, 2024
ebfe465
Add Readme, just warn on baseline mismatch, log test info
jtschuster Mar 28, 2024
6319317
Set correct test loggers to log all messages from test, add msftsdkpa…
jtschuster Mar 29, 2024
8afe97c
[release/8.0.1xx] Migrate VMR pipeline to 1ES templates (#19073)
mthalman Mar 29, 2024
4ab90e3
Enable roslyn for unified build (#18769)
ViktorHofer Mar 29, 2024
ae2c029
Set test results output dir, set ContinueOnError=true
jtschuster Mar 29, 2024
284bfb2
Merge branch 'main' into TestProjectValidation
jtschuster Mar 29, 2024
da8ee9f
Use .xml test result extension
jtschuster Mar 29, 2024
5cae280
Merge branch 'TestProjectValidation' of https://github.com/jtschuster…
jtschuster Mar 29, 2024
f17e7f1
Update src/SourceBuild/content/test/Microsoft.DotNet.UnifiedBuild.Tes…
jtschuster Mar 29, 2024
74abe59
Update src/SourceBuild/content/eng/unifiedBuildValidation.targets
jtschuster Mar 29, 2024
c1aecb4
Hardcode path to project file
jtschuster Mar 29, 2024
5e9264b
[main] Rebootstrap with latest changes (#19145)
github-actions[bot] Mar 30, 2024
73f1ab7
Package source mappings - follow up (#19223)
NikolaMilosavljevic Mar 30, 2024
db8d9d6
Always build poison detection (#19245)
ViktorHofer Mar 31, 2024
b126292
PR Feedback:
jtschuster Apr 1, 2024
02b3d43
Make test project self-contained to work around framework resolution …
jtschuster Apr 1, 2024
68afb18
Use portable BuildRid instead of distro specific rid
jtschuster Apr 1, 2024
34b0eed
Don't build self-contained
jtschuster Apr 1, 2024
a9821d7
Merge branch 'main' of https://github.com/dotnet/installer into TestP…
jtschuster Apr 1, 2024
8a33406
Remove ExcludeFromDotnetBuild from restore target, add nugetconfig fo…
jtschuster Apr 1, 2024
4477ad2
Change BuildWithDesktopMSBuild to ForceDotNetMSBuildEngine (#19251)
mmitche Apr 2, 2024
04c512d
Remove old publishing targets (#19244)
ViktorHofer Apr 2, 2024
e888157
Enable FSharp in the VMR for non-source-build (#18895)
ViktorHofer Apr 2, 2024
6f7e869
Small refactoring change in nuget mappings task (#19258)
NikolaMilosavljevic Apr 2, 2024
aa16b7f
PR feedback:
jtschuster Apr 2, 2024
de63281
Allow razor test binary in VMR (#19267)
ellahathaway Apr 2, 2024
9a7e1fc
Don't pre-build unified build validation tests
jtschuster Apr 2, 2024
42032ae
Restore, don't build test project
jtschuster Apr 2, 2024
55d4383
Merge branch 'main' of https://github.com/dotnet/installer into TestP…
jtschuster Apr 2, 2024
68f223d
Merge branch 'release/8.0.2xx' into release/8.0.3xx
Apr 3, 2024
77875bb
Merge branch 'release/8.0.1xx' into release/8.0.2xx
Apr 3, 2024
ccc61ac
Use CPM in the VMR orchestrator (#19286)
ViktorHofer Apr 3, 2024
16bb6e5
[automated] Merge branch 'release/8.0.2xx' => 'release/8.0.3xx' (#19279)
Forgind Apr 3, 2024
5b8c35b
[automated] Merge branch 'release/8.0.1xx' => 'release/8.0.2xx' (#19285)
Forgind Apr 3, 2024
41a76e2
Add Exclusion File Validation & Consistency (#19243)
ellahathaway Apr 3, 2024
90164a6
move source-build pipelines to sb context folder
oleksandr-didyk Apr 4, 2024
6dd0534
fixup paths
oleksandr-didyk Apr 4, 2024
ef72155
move source-build pipelines to sb context folder
oleksandr-didyk Apr 4, 2024
f2ddb22
fixup paths
oleksandr-didyk Apr 4, 2024
00c9930
Update Application-Insights licenses (#19250)
ellahathaway Apr 4, 2024
c82b914
[8.0.1xx] Move source-build pipelines to sb content folder (#19305)
oleksandr-didyk Apr 4, 2024
fc6e7ab
Move source-build pipelines to sb content folder (#19291)
oleksandr-didyk Apr 4, 2024
c3be3d2
[automated] Merge branch 'release/8.0.1xx' => 'release/8.0.2xx' (#19310)
oleksandr-didyk Apr 4, 2024
762185e
Add osx-x64 sdk content diff baselines (#19309)
jtschuster Apr 4, 2024
9ecbda7
[VMR] Light up basic ARM32/ARM64 lanes (#18883)
directhex Apr 4, 2024
5ef9ef2
Update EOL versions (#19119)
richlander Apr 4, 2024
421592d
Update artifacts baseline (#19308)
ellahathaway Apr 5, 2024
74d4caf
Allow using Traversal and NoTargets SDK in VMR orchestrator (#19319)
ViktorHofer Apr 5, 2024
06ff3ac
Run CodeQL in VMR's SDL stage (#19322)
premun Apr 5, 2024
f007b72
[VMR] Correctly pass TargetArchitecture in emsdk.proj (#19324)
akoeplinger Apr 5, 2024
7cca643
Merge branch 'feature/installer-merge-update-main' into feature/insta…
MiYanni Apr 5, 2024
169bbb2
Rename artifacts baseline (#19329)
ellahathaway Apr 5, 2024
d198ea1
Copy symbols to intermediates (#19303)
NikolaMilosavljevic Apr 5, 2024
c42056e
Merge branch 'main' into feature/installer-merge
MiYanni Apr 5, 2024
4f94ddf
Add missing MSFT vs UB SDK baselines and update outdated baselines (#…
jtschuster Apr 5, 2024
3b08c93
Use ReferenceOnlyRepoArtifacts in more places instead of hardcoding S…
jkoritzinsky Apr 5, 2024
98458b1
Remove usages of AllRepoVersions.props (#19317)
jkoritzinsky Apr 6, 2024
fd8fbba
Installer updates (Merge to SDK Changeset) (#17959)
MiYanni Apr 6, 2024
22010ca
Merge branch 'release/8.0.2xx' into release/8.0.3xx
Apr 7, 2024
a04d902
remove xml declarations (#19339)
kasperk81 Apr 7, 2024
675431f
Merge branch 'release/8.0.3xx'
Apr 7, 2024
3763866
Merge branch 'release/8.0.3xx'
Apr 8, 2024
5391285
add trigger to sdk diff tests from vmr for release branches
oleksandr-didyk Apr 8, 2024
13cd2bc
[automated] Merge branch 'release/8.0.3xx' => 'main' (#19346)
v-wuzhai Apr 8, 2024
7c5e05a
add trigger to sdk diff tests from vmr for release branches
oleksandr-didyk Apr 8, 2024
60367f1
Trigger sdk diff tests on every VMR release build (#19349)
oleksandr-didyk Apr 8, 2024
9aa99de
[8.0.1xx] Trigger sdk diff tests on every VMR release build (#19353)
oleksandr-didyk Apr 8, 2024
f97227b
Update for publishing and package source mappings (#19343)
NikolaMilosavljevic Apr 8, 2024
02e3810
[8.0.1xx] Update scancode to 32.1.0 (#19357)
ellahathaway Apr 8, 2024
fe3e5e5
Make SmokeTests use repo infrastructure (#19290)
ViktorHofer Apr 9, 2024
41206aa
Add explicit arcade reference (#19360)
mmitche Apr 9, 2024
f17b890
Merge branch 'release/8.0.1xx' into release/8.0.2xx
Apr 9, 2024
e707838
[VMR] Light up NativeAOT OSX short lanes (#19355)
directhex Apr 9, 2024
b5d7e99
Use Microsoft.Build.NoTargets in repo-projects (#19363)
ViktorHofer Apr 9, 2024
36583f0
Delete dead properties from the VMR orchestrator (#19365)
ViktorHofer Apr 9, 2024
ae6258f
[automated] Merge branch 'release/8.0.1xx' => 'release/8.0.2xx' (#19354)
MiYanni Apr 9, 2024
3ccde1d
Use Traversal SDK to build tools (#19362)
ViktorHofer Apr 9, 2024
2573e12
Merge commit '034f91fcc0c48f527c56ae748103d193bb0ee06b' into internal…
vseanreesermsft Apr 9, 2024
f175508
update global.json and Versions.props for .NET SDK 8.0.104
dotnet-sb-bot Apr 9, 2024
01f47e2
Merging internal commits for release/8.0.1xx (#19373)
MiYanni Apr 9, 2024
d0da2ff
Create binlog for init-source-only.proj only when requested (#19379)
ViktorHofer Apr 10, 2024
9e8f752
Merge branch 'release/8.0.2xx' into release/8.0.3xx
Apr 10, 2024
2fb8f75
Run tests by default and again enable them in UB (#19366)
ViktorHofer Apr 10, 2024
249b5e5
[VMR] Pass architecture to wpf and windowsdesktop repos (#19393)
akoeplinger Apr 10, 2024
e3042a7
Merge branch 'release/8.0.1xx' into 8.0.104-apr2024-source-build-1712…
mthalman Apr 10, 2024
fbb1039
.NET Source-Build 8.0.104 April 2024 Updates (#19380)
oleksandr-didyk Apr 10, 2024
3782f7d
[VMR] Light up Alpine lanes (#19332)
directhex Apr 10, 2024
afeb89d
Add 1ES PT baseline for VMR (#19336)
ellahathaway Apr 10, 2024
ca9b41d
[VMR] Set VSRedistCommonNetCoreSharedFrameworkx6490PackageVersion in …
akoeplinger Apr 10, 2024
e71c6a8
[automated] Merge branch 'release/8.0.2xx' => 'release/8.0.3xx' (#19370)
MiYanni Apr 10, 2024
387211f
Stop publishing of additional packages in fsharp (#19404)
NikolaMilosavljevic Apr 10, 2024
9a150b8
Merge branch 'release/8.0.1xx' into release/8.0.2xx
Apr 11, 2024
deb5b78
[automated] Merge branch 'release/8.0.1xx' => 'release/8.0.2xx' (#19401)
MiYanni Apr 11, 2024
e97e785
Merge branch 'release/8.0.2xx' into release/8.0.3xx
Apr 12, 2024
83c0f49
[VMR] Add aspire test certificates to allowed-vmr-binaries.txt (#19452)
akoeplinger Apr 12, 2024
f3fc878
Merge branch 'release/8.0.3xx'
Apr 15, 2024
76c7e67
[VMR] light up Mono LLVM lanes (#19398)
directhex Apr 15, 2024
721d481
Update SB artifact size baseline (#19475)
mthalman Apr 15, 2024
9904825
[automated] Merge branch 'release/8.0.3xx' => 'main' (#19451)
MiYanni Apr 15, 2024
57ac1ae
Allow test databases in the VMR build and add license suppressions fo…
jkoritzinsky Apr 15, 2024
33265d2
Build the SourceBuilt tarball in the publish job and include the merg…
jkoritzinsky Apr 15, 2024
e37d3ee
[SDK Diff Tests] Update exclusion file before baseline assertion (#19…
ellahathaway Apr 15, 2024
6b61b6b
Use the repo asset manifests to discover dependency versions (#19389)
jkoritzinsky Apr 16, 2024
9ba0cba
Enable efcore in the VMR build (#19313)
jkoritzinsky Apr 17, 2024
cbbf41f
[VMR] Update .gdnbaselines with latest changes (#19507)
akoeplinger Apr 17, 2024
f99fe11
Update-eol-versions-8.0.1xx (#19318)
richlander Apr 17, 2024
cb43e1c
Add Unified Build produced NuGet package validation against official …
jtschuster Apr 17, 2024
2af63ec
Merge branch 'release/8.0.1xx' into release/8.0.2xx
Apr 18, 2024
a97a9b2
[automated] Merge branch 'release/8.0.1xx' => 'release/8.0.2xx' (#19512)
MiYanni Apr 18, 2024
f5bc7af
Fix path for trx files (#19529)
ellahathaway Apr 18, 2024
fc9016f
[main] Update dependencies from dotnet/sdk (#19508)
dotnet-maestro[bot] Apr 19, 2024
79319b9
Merge branch 'release/8.0.2xx' into release/8.0.3xx
Apr 19, 2024
10c8e2d
[automated] Merge branch 'release/8.0.2xx' => 'release/8.0.3xx' (#19523)
MiYanni Apr 19, 2024
28813b3
Add SDK Symbols tests (#19528)
NikolaMilosavljevic Apr 21, 2024
6a27128
Enable building "non-official" VMR builds (#19491)
jkoritzinsky Apr 22, 2024
79d7360
Rename publish.proj to merge-asset-manifests.proj (#19561)
ViktorHofer Apr 23, 2024
d24b71d
[main] Update dependencies from dotnet/sdk (#19534)
dotnet-maestro[bot] Apr 23, 2024
dbd1b02
[VMR] Disable CodeQL on public builds (#19578)
akoeplinger Apr 24, 2024
d0c4409
Update Sdk Diff Tests baselines and exclusions (#19570)
ellahathaway Apr 24, 2024
da69560
Update artifact size basline
Winniexu01 Apr 25, 2024
2856a74
Merge branch 'release/8.0.4xx'
Apr 29, 2024
2b77f4f
Fix typo in lookup for previously-source-built PackageVersions.props …
omajid May 1, 2024
1cdb920
Enable scenario test execution in VMR build (#19222)
mthalman May 1, 2024
281ae1d
[main] Update dependencies from dotnet/sdk (#19594)
dotnet-maestro[bot] May 1, 2024
3576743
Fix Alpine SB legs (#19623)
mthalman May 1, 2024
f6713fd
fixup tag for sdk diff test runs
oleksandr-didyk May 3, 2024
7bbf09c
Fixup tag for sdk diff test runs (#19662)
oleksandr-didyk May 3, 2024
d4cef21
Update artifacts size baseline (#19665)
ellahathaway May 3, 2024
3cc9cc6
[main] Update dependencies from dotnet/sdk (#19634)
dotnet-maestro[bot] May 3, 2024
ee64373
Rebootstrap SDK to unblock testing issue (#19684)
MichaelSimons May 6, 2024
53104b1
Allow diagnostics test binaries (#19682)
ellahathaway May 7, 2024
0fce099
Add false positive wpf licenses to exclusions (#19685)
ellahathaway May 7, 2024
5472d3b
Fix comparison for scenario tests condition (#19670)
mthalman May 7, 2024
bcec190
Specify artifacts path (#19690)
ellahathaway May 7, 2024
9e9bbbe
Handle spaces in properties passed to VMR's build.sh (#19686)
omajid May 7, 2024
1ff5a6c
Update src/SourceBuild/content from installer
ViktorHofer May 7, 2024
22a67b7
Create 0001-ambiguous-call-site.patch
ViktorHofer May 7, 2024
c41a2e4
Create 0001-Disable-Aspire-scenario-test.patch
ViktorHofer May 7, 2024
dbe1c32
Create 0002-Disable-WPF-scenario-test.patch
ViktorHofer May 7, 2024
e51387d
Update vmr-build.yml
ViktorHofer May 7, 2024
a2053a7
Create 0001-Make-IDE0073-silent.patch
ViktorHofer May 7, 2024
580587e
Create 0001-InternalServerError.patch
ViktorHofer May 7, 2024
c0b97b8
Include templates in SDK layout
ViktorHofer May 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 31 additions & 13 deletions eng/pipelines/templates/jobs/vmr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ jobs:
set -ex

dockerVolumeArgs="-v $(sourcesPath):/vmr"
sourceOnlyArgs=''
customBuildArgs=''
extraBuildProperties=''

if [[ ! -z '${{ parameters.targetOS }}' ]]; then
Expand All @@ -382,11 +382,15 @@ jobs:
extraBuildProperties="$extraBuildProperties /p:TargetArchitecture=${{ parameters.targetArchitecture }}"
fi

if [[ '${{ parameters.useDevVersions }}' == 'True' ]]; then
customBuildArgs="$customBuildArgs --dev"
fi

if [[ '${{ parameters.buildSourceOnly }}' == 'True' ]]; then
if [[ '${{ parameters.enablePoison }}' == 'True' ]]; then
sourceOnlyArgs='--poison'
customBuildArgs="$customBuildArgs --poison"
fi
sourceOnlyArgs="$sourceOnlyArgs --source-only /p:SmokeTestsWarnOnSdkContentDiffs=true /p:SmokeTestsExcludeOmniSharpTests=${{ parameters.excludeOmniSharpTests }}"
customBuildArgs="$customBuildArgs --source-only /p:SmokeTestsWarnOnSdkContentDiffs=true /p:SmokeTestsExcludeOmniSharpTests=${{ parameters.excludeOmniSharpTests }}"
fi

if [[ -n "${{ parameters.extraProperties }}" ]]; then
Expand All @@ -395,10 +399,10 @@ jobs:

# Only use Docker when a container is specified
if [[ -n "${{ parameters.container }}" ]]; then
docker run --rm $dockerVolumeArgs -w /vmr ${{ parameters.container }} ./build.sh /bl:artifacts/log/Release/Test.binlog --test $sourceOnlyArgs $extraBuildProperties $(additionalBuildArgs)
docker run --rm $dockerVolumeArgs -w /vmr ${{ parameters.container }} ./build.sh /bl:artifacts/log/Release/Test.binlog --test $customBuildArgs $extraBuildProperties $(additionalBuildArgs)
else
cd $(sourcesPath)
./build.sh /bl:artifacts/log/Release/Test.binlog --test $sourceOnlyArgs $extraBuildProperties $(additionalBuildArgs)
./build.sh /bl:artifacts/log/Release/Test.binlog --test $customBuildArgs $extraBuildProperties $(additionalBuildArgs)
fi

displayName: Run Tests
Expand All @@ -425,6 +429,10 @@ jobs:
CopyWithRelativeFolders "src/" $targetFolder "*.binlog"
CopyWithRelativeFolders "src/" $targetFolder "*.log"

if (Test-Path "artifacts/scenario-tests/") {
CopyWithRelativeFolders "artifacts/scenario-tests/" $targetFolder "*.binlog"
}

if (Test-Path "artifacts/TestResults/*") {
CopyWithRelativeFolders "artifacts/TestResults/" $targetFolder "*.binlog"
CopyWithRelativeFolders "artifacts/TestResults/" $targetFolder "*.diff"
Expand Down Expand Up @@ -452,13 +460,11 @@ jobs:
cd "$(sourcesPath)"
find artifacts/log/ -type f -name "*.binlog" -exec rsync -R {} -t ${targetFolder} \;
find artifacts/log/ -type f -name "*.log" -exec rsync -R {} -t ${targetFolder} \;

if [ -d "artifacts/TestResults/" ]; then
find artifacts/TestResults/ -type f -name "*.binlog" -exec rsync -R {} -t ${targetFolder} \;
find artifacts/TestResults/ -type f -name "*.diff" -exec rsync -R {} -t ${targetFolder} \;
find artifacts/TestResults/ -type f -name "Updated*.txt" -exec rsync -R {} -t ${targetFolder} \;
find artifacts/TestResults/ -type f -name "*.trx" -exec rsync -R {} -t ${targetFolder} \;
fi
[ -d "artifacts/scenario-tests/" ] && find artifacts/scenario-tests/ -type f -name "*.binlog" -exec rsync -R {} -t ${targetFolder} \;
find artifacts/TestResults/ -type f -name "*.binlog" -exec rsync -R {} -t ${targetFolder} \;
find artifacts/TestResults/ -type f -name "*.diff" -exec rsync -R {} -t ${targetFolder} \;
find artifacts/TestResults/ -type f -name "Updated*.txt" -exec rsync -R {} -t ${targetFolder} \;
find artifacts/TestResults/ -type f -name "*.trx" -exec rsync -R {} -t ${targetFolder} \;

if [[ "${{ parameters.buildSourceOnly }}" == "True" ]]; then
find artifacts/prebuilt-report/ -exec rsync -R {} -t ${targetFolder} \;
Expand Down Expand Up @@ -490,13 +496,25 @@ jobs:
condition: succeededOrFailed()
continueOnError: true
inputs:
testRunner: vSTest
testRunner: VSTest
testResultsFiles: 'artifacts/TestResults/Release/*.trx'
searchFolder: $(sourcesPath)
mergeTestResults: true
publishRunAttachments: true
testRunTitle: Tests_$(Agent.JobName)

- task: PublishTestResults@2
displayName: Publish Scenario Test Results
condition: succeededOrFailed()
continueOnError: true
inputs:
testRunner: xUnit
testResultsFiles: 'artifacts/TestResults/**/scenario-tests/*.xml'
searchFolder: $(sourcesPath)
mergeTestResults: true
publishRunAttachments: true
testRunTitle: ScenarioTests_$(Agent.JobName)

- task: CopyFiles@2
inputs:
SourceFolder: $(sourcesPath)/artifacts
Expand Down
3 changes: 2 additions & 1 deletion src/Installer/redist-installer/redist-installer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\Layout\redist\redist.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="$(RepoRoot)template_feed\*\*.csproj" ReferenceOutputAssembly="false" />
<!--
These two projects reference assets from multiple architectures, so they can't be built until we have a join point job that can pull assets from multiple legs.
https://github.com/dotnet/source-build/issues/4336
-->
<ProjectReference Include="..\..\Layout\redist\redist.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="projects\SdkResolver.csproj" ReferenceOutputAssembly="false" Condition="'$(DotNetBuild)' != 'true'" />
<ProjectReference Include="projects\VSTemplateLocator.csproj" ReferenceOutputAssembly="false" Condition="'$(DotNetBuild)' != 'true'" />
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/SourceBuild/content/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
<IntermediateSymbolsRootDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsObjDir)', 'Symbols'))</IntermediateSymbolsRootDir>
<AssetManifestsIntermediateDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsObjDir)', 'AssetManifests'))</AssetManifestsIntermediateDir>
<ArtifactsAssetsDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'assets', '$(Configuration)'))</ArtifactsAssetsDir>
<DotNetSdkExtractDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsObjDir)', 'extracted-dotnet-sdk'))</DotNetSdkExtractDir>

<PrebuiltPackagesPath>$([MSBuild]::NormalizeDirectory('$(PrereqsPackagesDir)', 'prebuilt'))</PrebuiltPackagesPath>
<PreviouslyRestoredPackagesPath>$([MSBuild]::NormalizeDirectory('$(PrereqsPackagesDir)', 'previouslyRestored'))</PreviouslyRestoredPackagesPath>
Expand Down
37 changes: 19 additions & 18 deletions src/SourceBuild/content/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ exclude_ci_binary_log=false
prepare_machine=false
use_dev_versioning=false

properties=''
properties=()
while [[ $# > 0 ]]; do
opt="$(echo "${1/#--/-}" | tr "[:upper:]" "[:lower:]")"
case "$opt" in
Expand Down Expand Up @@ -120,13 +120,13 @@ while [[ $# > 0 ]]; do
# Source-only settings
-source-only|-source-build|-so|-sb)
sourceOnly=true
properties="$properties /p:DotNetBuildSourceOnly=true"
properties+=( "/p:DotNetBuildSourceOnly=true" )
;;
-online)
properties="$properties /p:DotNetBuildWithOnlineFeeds=true"
properties+=( "/p:DotNetBuildWithOnlineFeeds=true" )
;;
-poison)
properties="$properties /p:EnablePoison=true"
properties+=( "/p:EnablePoison=true" )
;;
-release-manifest)
releaseManifest="$2"
Expand Down Expand Up @@ -162,14 +162,14 @@ while [[ $# > 0 ]]; do
;;

# Advanced settings
-build-tests)
properties="$properties /p:DotNetBuildTests=true"
-build-repo-tests)
properties+=( "/p:DotNetBuildTests=true" )
;;
-ci)
ci=true
;;
-clean-while-building|-cwb)
properties="$properties /p:CleanWhileBuilding=true"
properties+=( "/p:CleanWhileBuilding=true" )
;;
-excludecibinarylog|-nobl)
exclude_ci_binary_log=true
Expand All @@ -178,13 +178,13 @@ while [[ $# > 0 ]]; do
prepare_machine=true
;;
-use-mono-runtime)
properties="$properties /p:SourceBuildUseMonoRuntime=true"
properties+=( "/p:SourceBuildUseMonoRuntime=true" )
;;
-dev)
use_dev_versioning=true
;;
*)
properties="$properties $1"
properties+=( "$1" )
;;
esac

Expand All @@ -198,7 +198,7 @@ if [[ "$ci" == true ]]; then
fi

if [[ "$use_dev_versioning" == true && "$sourceOnly" != true ]]; then
properties="$properties /p:UseOfficialBuildVersioning=false"
properties+=( "/p:UseOfficialBuildVersioning=false" )
fi

# Never use the global nuget cache folder
Expand Down Expand Up @@ -234,14 +234,14 @@ function Build {
$targets \
$bl \
/p:Configuration=$configuration \
$properties
"${properties[@]}"

ExitWithExitCode 0

else

if [ "$ci" == "true" ]; then
properties="$properties /p:ContinuousIntegrationBuild=true"
properties+=( "/p:ContinuousIntegrationBuild=true" )
fi

if [ "$test" != "true" ]; then
Expand All @@ -251,7 +251,7 @@ function Build {
fi

"$CLI_ROOT/dotnet" build-server shutdown
"$CLI_ROOT/dotnet" msbuild "$scriptroot/eng/init-source-only.proj" $initSourceOnlyBinaryLog $properties
"$CLI_ROOT/dotnet" msbuild "$scriptroot/eng/init-source-only.proj" $initSourceOnlyBinaryLog "${properties[@]}"
# kill off the MSBuild server so that on future invocations we pick up our custom SDK Resolver
"$CLI_ROOT/dotnet" build-server shutdown
fi
Expand All @@ -264,7 +264,7 @@ function Build {
bl="/bl:\"$log_dir/Build.binlog\""
fi

"$CLI_ROOT/dotnet" msbuild --restore "$project" $bl $targets $properties
"$CLI_ROOT/dotnet" msbuild --restore "$project" $bl $targets "${properties[@]}"
fi
}

Expand Down Expand Up @@ -331,9 +331,9 @@ if [[ "$sourceOnly" == "true" ]]; then
# Support custom source built package locations
if [ "$CUSTOM_PACKAGES_DIR" != "" ]; then
if [ "$test" == "true" ]; then
properties="$properties /p:CustomSourceBuiltPackagesPath=$CUSTOM_PACKAGES_DIR"
properties+=( "/p:CustomSourceBuiltPackagesPath=$CUSTOM_PACKAGES_DIR" )
else
properties="$properties /p:CustomPrebuiltSourceBuiltPackagesPath=$CUSTOM_PACKAGES_DIR"
properties+=( "/p:CustomPrebuiltSourceBuiltPackagesPath=$CUSTOM_PACKAGES_DIR" )
fi
fi

Expand Down Expand Up @@ -365,7 +365,7 @@ if [[ "$sourceOnly" == "true" ]]; then
packageVersionsPath="$CUSTOM_PACKAGES_DIR/PackageVersions.props"
elif [ -d "$packagesArchiveDir" ]; then
sourceBuiltArchive=$(find "$packagesArchiveDir" -maxdepth 1 -name 'Private.SourceBuilt.Artifacts*.tar.gz')
if [ -f "${packagesPreviouslySourceBuiltDir}}PackageVersions.props" ]; then
if [ -f "${packagesPreviouslySourceBuiltDir}PackageVersions.props" ]; then
packageVersionsPath=${packagesPreviouslySourceBuiltDir}PackageVersions.props
elif [ -f "$sourceBuiltArchive" ]; then
tar -xzf "$sourceBuiltArchive" -C /tmp PackageVersions.props
Expand All @@ -375,8 +375,9 @@ if [[ "$sourceOnly" == "true" ]]; then

if [ ! -f "$packageVersionsPath" ]; then
echo "Cannot find PackagesVersions.props. Debugging info:"
echo " Attempted archive path: $packagesArchiveDir"
echo " Attempted custom PVP path: $CUSTOM_PACKAGES_DIR/PackageVersions.props"
echo " Attempted previously-source-built path: ${packagesPreviouslySourceBuiltDir}PackageVersions.props"
echo " Attempted archive path: $packagesArchiveDir"
exit 1
fi

Expand Down
4 changes: 2 additions & 2 deletions src/SourceBuild/content/eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<ProductDependencies>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24223.3">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24253.1">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>91ce5946fec9f81f15f81d20e1aab63527302410</Sha>
<Sha>020255bcf7d0b8beed7de05338d97396982ae527</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>
5 changes: 3 additions & 2 deletions src/SourceBuild/content/eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
of a .NET major or minor release, prebuilts may be needed. When the release is mature, prebuilts
are not necessary, and this property is removed from the file.
-->
<PrivateSourceBuiltSdkVersion>9.0.100-preview.4.24223.1</PrivateSourceBuiltSdkVersion>
<PrivateSourceBuiltArtifactsVersion>9.0.100-preview.4.24223.1</PrivateSourceBuiltArtifactsVersion>
<PrivateSourceBuiltSdkVersion>9.0.100-preview.5.24256.1</PrivateSourceBuiltSdkVersion>
<PrivateSourceBuiltArtifactsVersion>9.0.100-preview.5.24256.1</PrivateSourceBuiltArtifactsVersion>
<PrivateSourceBuiltPrebuiltsVersion>9.0.100-preview.5.24256.1</PrivateSourceBuiltPrebuiltsVersion>
<!-- command-line-api dependencies -->
<SystemCommandLineVersion>2.0.0-beta4.24126.1</SystemCommandLineVersion>
<!-- msbuild dependencies -->
Expand Down
4 changes: 4 additions & 0 deletions src/SourceBuild/content/eng/allowed-vmr-binaries.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ src/cecil/symbols/**/Test/Resources/assemblies/*.pdb
src/cecil/symbols/**/Test/Resources/assemblies/*.dll
src/cecil/symbols/**/Test/Resources/assemblies/*.mdb

# diagnostics
src/diagnostics/src/tests/Microsoft.FileFormats.UnitTests/TestBinaries/**/*
src/diagnostics/src/tests/Microsoft.SymbolStore.UnitTests/TestBinaries/**/*

# efcore
src/efcore/test/EFCore.Sqlite.FunctionalTests/northwind.db # https://github.com/dotnet/source-build/issues/4326
src/efcore/benchmark/EFCore.Sqlite.Benchmarks/AdventureWorks2014.db # https://github.com/dotnet/source-build/issues/4326
Expand Down
20 changes: 20 additions & 0 deletions src/SourceBuild/content/eng/extract-sdk-archive.proj
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<Project Sdk="Microsoft.Build.NoTargets">

<PropertyGroup>
<TargetFramework>$(NetCurrent)</TargetFramework>
</PropertyGroup>

<Target Name="ExtractSdkArchive"
BeforeTargets="AfterBuild"
DependsOnTargets="DetermineSourceBuiltSdkVersion"
Inputs="$(SdkTarballPath)"
Outputs="$(DotNetSdkExtractDir)">
<MakeDir Directories="$(DotNetSdkExtractDir)" />
<Exec Condition="'$(ArchiveExtension)' == '.tar.gz'"
Command="tar -xzf $(SdkTarballPath) -C $(DotNetSdkExtractDir)" />
<Unzip Condition="'$(ArchiveExtension)' == '.zip'"
SourceFiles="$(SdkTarballPath)"
DestinationFolder="$(DotNetSdkExtractDir)" />
</Target>

</Project>
8 changes: 2 additions & 6 deletions src/SourceBuild/content/eng/finish-source-only.proj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<ItemGroup>
<ProjectReference Include="$(TasksDir)Microsoft.DotNet.UnifiedBuild.Tasks\Microsoft.DotNet.UnifiedBuild.Tasks.csproj" />
<ProjectReference Include="$(TasksDir)Microsoft.DotNet.SourceBuild.Tasks.LeakDetection\Microsoft.DotNet.SourceBuild.Tasks.LeakDetection.csproj" />
<ProjectReference Include="$(RepositoryEngineeringDir)extract-sdk-archive.proj" />
<ProjectReference Include="$(RepositoryEngineeringDir)merge-asset-manifests.proj" />
</ItemGroup>

Expand Down Expand Up @@ -59,13 +60,9 @@
Outputs="$(SdkSymbolsTarball)">
<PropertyGroup>
<IntermediateSdkSymbolsLayout>$(BaseIntermediateOutputPath)SdkSymbols</IntermediateSdkSymbolsLayout>
<IntermediateSdkLayout>$(BaseIntermediateOutputPath)Sdk</IntermediateSdkLayout>
</PropertyGroup>

<MakeDir Directories="$(IntermediateSdkLayout)" />
<Exec Command="tar -xzf $(SdkTarballPath) -C $(IntermediateSdkLayout)" />

<CreateSdkSymbolsLayout SdkLayoutPath="$(IntermediateSdkLayout)"
<CreateSdkSymbolsLayout SdkLayoutPath="$(DotNetSdkExtractDir)"
AllSymbolsPath="$(IntermediateSymbolsRootDir)"
SdkSymbolsLayoutPath="$(IntermediateSdkSymbolsLayout)"
FailOnMissingPDBs="false" />
Expand All @@ -76,7 +73,6 @@
<Message Importance="High" Text="Packaged sdk symbols in '$(SdkSymbolsTarball)'" />

<RemoveDir Directories="$(IntermediateSdkSymbolsLayout)" />
<RemoveDir Directories="$(IntermediateSdkLayout)" />
</Target>

<!--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ jobs:
parameters:
buildName: ${{ parameters.buildName }}
architecture: ${{ parameters.architecture }}
patterns: '**/dotnet-sdk-+([0-9]).+([0-9]).+([0-9])?(-@(alpha|preview|rc|rtm)*)-${{ parameters.targetRid }}.tar.gz'
patterns: '**/assets/Release/dotnet-sdk-+([0-9]).+([0-9]).+([0-9])?(-@(alpha|preview|rc|rtm)*)-${{ parameters.targetRid }}.tar.gz'
displayName: Download Source Build SDK

- template: ../steps/download-vmr-artifact.yml
parameters:
buildName: ${{ parameters.buildName }}
architecture: ${{ parameters.architecture }}
patterns: '**/Private.SourceBuilt.Artifacts.+([0-9]).+([0-9]).+([0-9])?(-@(alpha|preview|rc|rtm)*).${{ parameters.targetRid }}.tar.gz'
patterns: '**/assets/Release/Private.SourceBuilt.Artifacts.+([0-9]).+([0-9]).+([0-9])?(-@(alpha|preview|rc|rtm)*).${{ parameters.targetRid }}.tar.gz'
displayName: Download Source Built Artifacts

- script: |
Expand Down
1 change: 0 additions & 1 deletion src/SourceBuild/content/eng/pipelines/vmr-license-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
steps:
- script: |
vmrSrcDir="$(Build.SourcesDirectory)/src"

# Builds an Azure DevOps matrix definition. Each entry in the matrix is a path,
# allowing a job to be run for each src repo.
matrix=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ private IList<string> GenerateSymbolsLayout(Hashtable allPdbGuids)
{
// Copy matching pdb to symbols path, preserving sdk binary's hierarchy
string sourcePath = (string)allPdbGuids[debugId]!;
string fileRelativePath = file.Substring(SdkLayoutPath.Length);
string destinationPath =
file.Replace(SdkLayoutPath, SdkSymbolsLayoutPath)
Path.Combine(SdkSymbolsLayoutPath, fileRelativePath)
.Replace(Path.GetFileName(file), Path.GetFileName(sourcePath));

Directory.CreateDirectory(Path.GetDirectoryName(destinationPath)!);
Expand Down
4 changes: 2 additions & 2 deletions src/SourceBuild/content/global.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"tools": {
"dotnet": "9.0.100-preview.4.24223.7"
"dotnet": "9.0.100-preview.5.24253.16"
},
"msbuild-sdks": {
"Microsoft.Build.NoTargets": "3.7.0",
"Microsoft.Build.Traversal": "3.4.0",
"Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.24223.3"
"Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.24253.1"
}
}
Loading