-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Conversation
dsplaisted
commented
Aug 25, 2017
- Rearrange artifact (output) folder
- Better separation between building and testing (separate stages)
- This makes it possible to run a full build twice in a row without failing
This is necessary for setting the intermediate output path to work correctly
…tead of checking it in
private string GetAdditionalParameters() | ||
{ | ||
return AdditionalParameters; | ||
} |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
||
<BaseIntermediateOutputPath>$([System.IO.Path]::GetFullPath('$(BaseOutputDirectory)/obj/$(MSBuildProjectName)'))</BaseIntermediateOutputPath> | ||
<OutputDirectory>$(BaseOutputDirectory)/dotnet</OutputDirectory> | ||
<Stage2WithBackwardsCompatibleRuntimesOutputDirectory>$(BaseOutputDirectory)/dotnetWithBackwardsCompatibleRuntimes</Stage2WithBackwardsCompatibleRuntimesOutputDirectory> |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
build/OutputDirectories.props
Outdated
<IntermediateDirectory>$(BaseOutputDirectory)/intermediate</IntermediateDirectory> | ||
<PackagesDirectory>$(BaseOutputDirectory)/packages</PackagesDirectory> | ||
<SharedFrameworkPublishDirectory>$(IntermediateDirectory)/sharedFrameworkPublish</SharedFrameworkPublishDirectory> | ||
<!-- The 'AspNetRuntimePackageStorePublishDirectory' needs to be very short due to path length constraints on Win8.1 --> | ||
<!-- Will this still work now that the stage has been added to the path? --> |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@dsplaisted windows tests are failing https://ci.dot.net/job/dotnet_cli/job/master/job/debug_windows_nt_x86_prtest/1424/testReport/ |
ed35b69
to
4e04a05
Compare
For example, "out/2" instead of "artifacts/stage2"
4e04a05
to
dcb3a7a
Compare
build/OutputDirectories.props
Outdated
<!-- BaseOutputDirectory is the root output path for this stage and RID | ||
BaseOutputPath is the project-specific output folder that each project builds into. | ||
This is not confusing at all. --> | ||
<BaseOutputDirectory>$(RepoRoot)/out/$(CliBuildStage)/$(Rid)</BaseOutputDirectory> |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Previously, dotnet-deb-tool-consumer.csproj was copied to the out/artifacts folder before being restored. This no longer works as it depends on repo properties, and there is a Directory.Build.props in teh out directory to stop projects inside it from getting the repo properties. So this change restores it in-place instead.
3957fd5
to
728cea2
Compare
@dotnet-bot test Debian8.2 x64 Debug Build |
@dotnet-bot test CentOS7.1 x64 Debug Build |
|
||
<WriteLinesToFile File="$(ExpectedVersionFileInIntermediateFolder)" | ||
Lines="$(VersionFileContent)" | ||
Condition=" '$(ShouldOverwriteVersionFile)' == 'true' " |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Rearrange output folders