From ccdf5b57dbebd3a7f518132acd43b2449c0797ff Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Thu, 18 Feb 2021 15:32:43 -0500 Subject: [PATCH] Enable source-build with Arcade (#235) This enables 'source-build', which makes it easier to build the entire shipping .NET SDK from source. This is the first and second step of arcade-powered-source-build: https://github.com/dotnet/source-build/blob/master/Documentation/planning/arcade-powered-source-build/README.md See dotnet/sourcelink#692 for a similar PR, that this is based on. --- azure-pipelines.yml | 3 ++- eng/SourceBuild.props | 6 ++++++ eng/SourceBuildPrebuiltBaseline.xml | 5 +++++ eng/Version.Details.xml | 1 + eng/common/dotnet-install.sh | 0 5 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 eng/SourceBuild.props create mode 100644 eng/SourceBuildPrebuiltBaseline.xml mode change 100644 => 100755 eng/common/dotnet-install.sh diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0a20d5dbdf..05c016840b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -36,6 +36,7 @@ stages: enablePublishTestResults: true enablePublishBuildAssets: true enablePublishUsingPipelines: $(_PublishUsingPipelines) + enableSourceBuild: true enableTelemetry: true helixRepo: dotnet/symreader jobs: @@ -140,4 +141,4 @@ stages: parameters: # Symbol validation isn't being very reliable lately. This should be enabled back # once this issue is resolved: https://github.com/dotnet/arcade/issues/2871 - enableSymbolValidation: false \ No newline at end of file + enableSymbolValidation: false diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props new file mode 100644 index 0000000000..c2d9e2e0b7 --- /dev/null +++ b/eng/SourceBuild.props @@ -0,0 +1,6 @@ + + + symreader + true + + diff --git a/eng/SourceBuildPrebuiltBaseline.xml b/eng/SourceBuildPrebuiltBaseline.xml new file mode 100644 index 0000000000..c1b6dfbf05 --- /dev/null +++ b/eng/SourceBuildPrebuiltBaseline.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index b1aed568e3..ff2a6eda17 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -6,6 +6,7 @@ https://github.com/dotnet/arcade 938b3e8b4edcd96ca0f0cbbae63c87b3f51f7afe + diff --git a/eng/common/dotnet-install.sh b/eng/common/dotnet-install.sh old mode 100644 new mode 100755