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 script cleanup #30345
Build script cleanup #30345
Conversation
tmat
commented
Oct 5, 2018
•
edited
edited
- Move Linux build logic to build\scripts\build.sh
- Eliminate MicroBuild scripts
@jaredpar PTAL |
build/scripts/build.ps1
Outdated
@@ -46,20 +46,19 @@ param ( | |||
# Special test options | |||
[switch]$testDeterminism = $false, | |||
|
|||
[parameter(ValueFromRemainingArguments=$true)] $badArgs) | |||
[parameter(ValueFromRemainingArguments=$true)][String[]]$properties) |
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.
lower case string
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.
@@ -16,9 +16,10 @@ | |||
|
|||
[CmdletBinding(PositionalBinding=$false)] | |||
param ( | |||
[string]$configuration = "Debug", |
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.
Is this just reflecting the arcade model?
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. I was thinking we could keep -release
as well, if that's more convenient. On the other hand PowerShell allows to shorten and use e.g. -con Release
, so perhaps it's not necessary. I don't think IDE devs are using release builds that often. Let me know if this is common pattern for compiler devs that we should keep a short command for.
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.
I don't think anyone uses it enough that it's worth keeping if arcade does it differently.
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.
:(
But I can find another way.
|
||
if ($cibuild) { | ||
# Symbol Uploader currently reports a warning for some files (https://github.com/dotnet/symstore/issues/76) | ||
Run-MSBuild "build\Targets\RepoToolset\Publish.proj" "/t:Publish" -warnAsError:$false |
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.
Why do we want to be publishing during a PR?
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.
For validation (Dry Run) of the symbol uploader.
test ci please |
test ci please |
test this please |
test ci please |
FYI: test ci doesn't do any work now that we are on ADO. Need to manually requeue jobs via the UI. |
It does not affect Jenkins either? |
ok, that's what i expected. |