From 2586e103fe06471f87514b12b9f00c8e2634f976 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Wed, 3 Feb 2021 15:59:08 -0500 Subject: [PATCH] Add source-build build infra 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 https://github.com/dotnet/sourcelink/pull/692 for a similar PR, that this is based on. --- azure-pipelines.yml | 1 + eng/SourceBuild.props | 8 ++++++++ eng/SourceBuildPrebuiltBaseline.xml | 5 +++++ eng/Version.Details.xml | 1 + 4 files changed, 15 insertions(+) create mode 100644 eng/SourceBuild.props create mode 100644 eng/SourceBuildPrebuiltBaseline.xml diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b0cb444e..cb3fc6b5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -42,6 +42,7 @@ stages: enablePublishTestResults: true enablePublishBuildAssets: true enablePublishUsingPipelines: ${{ variables._PublishUsingPipelines }} + enableSourceBuild: true enableTelemetry: true helixRepo: dotnet/xdt jobs: diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props new file mode 100644 index 00000000..44bce442 --- /dev/null +++ b/eng/SourceBuild.props @@ -0,0 +1,8 @@ + + + + xdt + true + + + diff --git a/eng/SourceBuildPrebuiltBaseline.xml b/eng/SourceBuildPrebuiltBaseline.xml new file mode 100644 index 00000000..c1b6dfbf --- /dev/null +++ b/eng/SourceBuildPrebuiltBaseline.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index ae7f74c1..210c9d7d 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -4,6 +4,7 @@ https://github.com/dotnet/arcade 938b3e8b4edcd96ca0f0cbbae63c87b3f51f7afe +