-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Build tests on Linux and Windows #47106
Build tests on Linux and Windows #47106
Conversation
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.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (2)
eng/pipelines/templates/stages/vmr-build.yml:857
- The Windows_BuildTests job is now relocated into the vertical build section. Please verify that its new placement and order in the pipeline is intentional.
- template: ../jobs/vmr-build.yml
eng/pipelines/templates/stages/vmr-build.yml:862
- The addition of the 'sign: false' parameter could modify the expected build signing behavior for Windows builds. Ensure that this change aligns with the intended CI process.
sign: false
Just to clarify, we are already building tests in a linux x64 leg. So this PR is just about moving the Windows test leg to just be run in CI. |
We are not - existing Linux job now gets the |
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.
We don't want that leg to run in official builds. It would also be sweet if we could keep the leg in the "VMR Vertical Build Validation" stage. Long term we want a separate pipeline for it but for now I think it makes sense to condition it to run in public rolling builds only.
Fixed with e45016a |
vmrBranch: ${{ variables.VmrBranch }} | ||
pool: ${{ parameters.pool_Windows }} | ||
targetOS: windows | ||
targetArchitecture: x64 | ||
extraProperties: /p:DotNetBuildTests=true |
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.
Consider updating the job name to make it clear that this job now builds tests
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.
Fixed with 936d376
I've merged the latest from target branch, hopefully that resolves the issue that showed when building tests on Ubuntu - I did not see it in my local build.
|
My local build didn't include the change that enabled SDK tests on non-Windows - #47103 @ViktorHofer @mmitche are we still missing some changes for building |
I've pushed a fix for this - SDK tests are not building on Linux due to an underlying issue with |
Fixes: dotnet/source-build#4909
Instead of building tests on Windows x64 in PR we will now have:
This change brings back the PR validation time to less than 2 hours.