Skip to content

Commit

Permalink
Add source-build build infra
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
omajid committed Mar 3, 2021
1 parent 9ae834d commit 4511f52
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions azure-pipelines.yml
Expand Up @@ -42,6 +42,7 @@ stages:
enablePublishTestResults: true
enablePublishBuildAssets: true
enablePublishUsingPipelines: ${{ variables._PublishUsingPipelines }}
enableSourceBuild: true
enableTelemetry: true
helixRepo: dotnet/xdt
jobs:
Expand Down
8 changes: 8 additions & 0 deletions eng/SourceBuild.props
@@ -0,0 +1,8 @@
<Project>

<PropertyGroup>
<GitHubRepositoryName>xdt</GitHubRepositoryName>
<SourceBuildManagedOnly>true</SourceBuildManagedOnly>
</PropertyGroup>

</Project>
5 changes: 5 additions & 0 deletions eng/SourceBuildPrebuiltBaseline.xml
@@ -0,0 +1,5 @@
<UsageData>
<IgnorePatterns>
<UsagePattern IdentityGlob="*/*" />
</IgnorePatterns>
</UsageData>
1 change: 1 addition & 0 deletions eng/Version.Details.xml
Expand Up @@ -4,6 +4,7 @@
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.21125.5">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>15246f4af00a1cb2e580783d32ec2937b1878a64</Sha>
<SourceBuild RepoName="arcade" ManagedOnly="true"/>
</Dependency>
</ToolsetDependencies>
</Dependencies>

0 comments on commit 4511f52

Please sign in to comment.