Skip to content
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

Merged
merged 18 commits into from Oct 10, 2018
Merged

Build script cleanup #30345

merged 18 commits into from Oct 10, 2018

Conversation

tmat
Copy link
Member

@tmat tmat commented Oct 5, 2018

  • Move Linux build logic to build\scripts\build.sh
  • Eliminate MicroBuild scripts

@tmat tmat requested a review from a team as a code owner October 5, 2018 21:46
@tmat tmat requested a review from a team as a code owner October 8, 2018 21:12
@tmat tmat changed the title WIP: Build script cleanup Build script cleanup Oct 9, 2018
@tmat
Copy link
Member Author

tmat commented Oct 9, 2018

@jaredpar PTAL

@@ -46,20 +46,19 @@ param (
# Special test options
[switch]$testDeterminism = $false,

[parameter(ValueFromRemainingArguments=$true)] $badArgs)
[parameter(ValueFromRemainingArguments=$true)][String[]]$properties)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lower case string

Copy link
Member Author

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",
Copy link
Member

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?

Copy link
Member Author

@tmat tmat Oct 9, 2018

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.

Copy link
Member

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.

Copy link
Member

@sharwell sharwell Oct 10, 2018

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
Copy link
Member

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?

Copy link
Member Author

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.

@tmat
Copy link
Member Author

tmat commented Oct 9, 2018

test ci please

@tmat
Copy link
Member Author

tmat commented Oct 10, 2018

test ci please

@tmat
Copy link
Member Author

tmat commented Oct 10, 2018

test this please

@tmat
Copy link
Member Author

tmat commented Oct 10, 2018

test ci please

@tmat tmat closed this Oct 10, 2018
@tmat tmat reopened this Oct 10, 2018
@jaredpar
Copy link
Member

FYI: test ci doesn't do any work now that we are on ADO. Need to manually requeue jobs via the UI.

@tmat
Copy link
Member Author

tmat commented Oct 10, 2018

It does not affect Jenkins either?

@jaredpar
Copy link
Member

jaredpar commented Oct 10, 2018 via email

@tmat
Copy link
Member Author

tmat commented Oct 10, 2018

ok, that's what i expected.

@tmat tmat changed the title Build script cleanup WIP: Build script cleanup Oct 10, 2018
@tmat tmat changed the title WIP: Build script cleanup Build script cleanup Oct 10, 2018
@tmat tmat merged commit 698d470 into dotnet:master Oct 10, 2018
@tmat tmat deleted the ToolsetCleanup branch October 10, 2018 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants