-
Notifications
You must be signed in to change notification settings - Fork 440
Move unified build sdk validation to a test project #19090
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 52 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
ee1dce8
Add PackageDiff tool and tasks
jtschuster 0836474
Merge branch 'main' of https://github.com/dotnet/installer
jtschuster 158c2aa
Create test project for Unified Build validation
jtschuster 1991c7b
Add initial SDK test project for unified build
jtschuster b076829
Merge branch 'main' of https://github.com/dotnet/installer into TestP…
jtschuster b1dfb7a
Remove old PackageDiff and reference test runner in installer.proj
jtschuster cdbd8e5
Fix capilization issue with file name
jtschuster 46cc050
Revert changes from existing smoke tests
jtschuster 949a304
Don't run old sdk validation, restore test project in init-build.proj
jtschuster db4d2d2
Revert changes from existing smoke tests
jtschuster 47053c4
Keep building sdkArchiveDiff tasks for finding the single sdk. We'll …
jtschuster a783e3b
Remove assemblies that aren't in both sdk's from version validation
jtschuster 7180f58
Clean up testing and move sdk download to test project
jtschuster 736b6f4
Add linux file diff exclusions
jtschuster 4efaf69
Merge branch 'main' into TestProjectValidation
jtschuster d85e153
Fix env var mismatch
jtschuster 43e52e8
Update baselines with correct msft and ub sdks
jtschuster 5c57672
Update assets, log sdk download info during setup
jtschuster 3a96da9
Merge branch 'main' of https://github.com/dotnet/installer into TestP…
jtschuster a82bdc9
PR feedback
jtschuster 2a70b8a
Use one env var to work around msbuild escaping
jtschuster 9faaceb
Merge branch 'main' of https://github.com/dotnet/installer into TestP…
jtschuster b2f9194
Apply suggestions from code review
jtschuster c592d1b
Merge branch 'TestProjectValidation' of https://github.com/jtschuster…
jtschuster 01e368f
PR feedback
jtschuster 1d0b68b
PR Feedback: Use Arcade SDK to get test parameters without passing fr…
jtschuster 346f634
Merge branch 'main' into TestProjectValidation
jtschuster 6101c31
Fix imports issue with test project
jtschuster d963e00
Uncommit unnecessary file and remove buildprops template fluff
jtschuster ee8d200
PR Feedback:
jtschuster 406c954
Merge branch 'main' into TestProjectValidation
jtschuster 3981f8b
Merge branch 'main' of https://github.com/dotnet/installer into TestP…
jtschuster 51572ba
Hardcode path to test project in restore
jtschuster 9cae2dc
Update linux baseline
jtschuster 772ccf9
Merge branch 'main' of https://github.com/dotnet/installer into TestP…
jtschuster 8abbbd3
Don't fail build on failing test
jtschuster 8bc48d7
Add Readme, just warn on baseline mismatch, log test info
jtschuster a290488
Set correct test loggers to log all messages from test, add msftsdkpa…
jtschuster 474ab95
Set test results output dir, set ContinueOnError=true
jtschuster 860de57
Merge branch 'main' into TestProjectValidation
jtschuster e15c0f1
Use .xml test result extension
jtschuster f993c46
Merge branch 'TestProjectValidation' of https://github.com/jtschuster…
jtschuster 71cc6ce
Update src/SourceBuild/content/test/Microsoft.DotNet.UnifiedBuild.Tes…
jtschuster 803aacb
Update src/SourceBuild/content/eng/unifiedBuildValidation.targets
jtschuster 8daa5ab
Hardcode path to project file
jtschuster 7ba27a5
PR Feedback:
jtschuster 266aaab
Make test project self-contained to work around framework resolution …
jtschuster 0ee472f
Use portable BuildRid instead of distro specific rid
jtschuster 56f1dfa
Don't build self-contained
jtschuster df7cd4f
Merge branch 'main' of https://github.com/dotnet/installer into TestP…
jtschuster 60306f3
Remove ExcludeFromDotnetBuild from restore target, add nugetconfig fo…
jtschuster 6acbd2f
PR feedback:
jtschuster f5322b6
Don't pre-build unified build validation tests
jtschuster 2755352
Restore, don't build test project
jtschuster 9414ff8
Merge branch 'main' of https://github.com/dotnet/installer into TestP…
jtschuster File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
136 changes: 0 additions & 136 deletions
136
...uild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.SdkArchiveDiff/Archive.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that this is test project it doesn't belong here anymore. That can be updated in a follow-up though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will it automatically get restored by arcade as a test project? Or can we assume it will never be run in an offline build?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it will get restored same as the build.proj and the repo-projects/ .proj files. But as mentioned, it might be better to do that in a follow-up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like building this before the sdk version is determined, and the runtime config values aren't being set, so it'll need to be done here.