-
Notifications
You must be signed in to change notification settings - Fork 10.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
A quick collection of quick fixes #20993
Conversation
Additional verification builds
|
3c4a685
to
8ee921f
Compare
eaea3ec
to
b0f4606
Compare
Oops, missing a commit and I forgot to rerun some validation builds. Back to draft… |
b0f4606
to
1102190
Compare
@@ -31,12 +31,12 @@ stages: | |||
steps: | |||
- script: git submodule init | |||
- script: git submodule update --recursive | |||
- script: cd ./src/Components |
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.
@mkArtakMSFT you may want to look at this file in particular
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 fine to me. I initially have totally forgotten that this is something I had created. Thanks @pranavkm for reminding this 👍
Anyway, the change looks reasonable. We should discuss in our next meeting whether this is still useful. We tend to look at the official CI views rather than this any more, so maybe it's time to completely stop this.
@@ -1,4 +1,6 @@ | |||
<Project> | |||
<Import Project="eng\Common.props" /> |
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.
Without this, $(BuildNative)
was only available in the projects that needed it when property was global
@@ -1,26 +1,40 @@ | |||
@ECHO OFF | |||
SET RepoRoot=%~dp0..\.. | |||
|
|||
ECHO Building Microsoft.AspNetCore.Runtime.SiteExtension |
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.
@JunTaoLuo this one's for you 😈
Marking this as ready to review though validation builds (all but devBuilds.yml one) are failing due to what appear to be general infrastructure issues |
- remove an excess build step
- quote all rooted paths - check `%ERRORLEVEL%` after every `CALL` - nits: - add a few more `ECHO` commands - wrap long lines
…ers.beforeBuild` - ensure NuGet.config is ready for all internal builds - remove now-duplicate `SetupNugetSources` invocations wherever default-build.yml is used
- fix problems using `-all` or `/p:BuildAllProjects=true` without `-buildNative` - ensure `$(BuildNative)` is `false` where it's not supported - move some duplicated settings into eng/Common.props and `<Import />` the new file - remove now-duplicated parts of conditions using `$(BuildNative)`
- remove need to specify `/p:BuildAllProjects=true` - nit: simplify some Boolean logic
- avoid `/p:Build*` on the command line (except with eng/scripts/ci-source-build.sh) - nits: - remove now-useless `-buildNative` with `-all` - expand and correct a couple of related comments and messages
1102190
to
bc8ab4e
Compare
🆙📅 to pick up latest from 'master'. @mkArtakMSFT and @JunTaoLuo please weigh in. |
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.
LGTM
SetupNugetSources
script invocations aboveparameters.beforeBuild
$(BuildNative)
is always set correctly-all
together with-projects
--build-*
(Mostly found while working on #20748. Some parts will make it easier to use
dotnet
more if we continue down that road.)