Skip to content

Commit 4511f52

Browse files
committed
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 dotnet/sourcelink#692 for a similar PR, that this is based on.
1 parent 9ae834d commit 4511f52

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ stages:
4242
enablePublishTestResults: true
4343
enablePublishBuildAssets: true
4444
enablePublishUsingPipelines: ${{ variables._PublishUsingPipelines }}
45+
enableSourceBuild: true
4546
enableTelemetry: true
4647
helixRepo: dotnet/xdt
4748
jobs:

eng/SourceBuild.props

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Project>
2+
3+
<PropertyGroup>
4+
<GitHubRepositoryName>xdt</GitHubRepositoryName>
5+
<SourceBuildManagedOnly>true</SourceBuildManagedOnly>
6+
</PropertyGroup>
7+
8+
</Project>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<UsageData>
2+
<IgnorePatterns>
3+
<UsagePattern IdentityGlob="*/*" />
4+
</IgnorePatterns>
5+
</UsageData>

eng/Version.Details.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.21125.5">
55
<Uri>https://github.com/dotnet/arcade</Uri>
66
<Sha>15246f4af00a1cb2e580783d32ec2937b1878a64</Sha>
7+
<SourceBuild RepoName="arcade" ManagedOnly="true"/>
78
</Dependency>
89
</ToolsetDependencies>
910
</Dependencies>

0 commit comments

Comments
 (0)