Merge branch 'release/6.0.2xx' into main
This commit is contained in:
commit
1b305d19ef
3 changed files with 11 additions and 31 deletions
|
@ -39,10 +39,12 @@ jobs:
|
||||||
_BuildArch: x64
|
_BuildArch: x64
|
||||||
_Container: ${{ parameters.fedora33Container }}
|
_Container: ${{ parameters.fedora33Container }}
|
||||||
_RunOnline: true
|
_RunOnline: true
|
||||||
Fedora33-Offline:
|
# Offline builds have prebuilts: https://github.com/dotnet/fsharp/issues/12499
|
||||||
_BuildArch: x64
|
${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
||||||
_Container: ${{ parameters.fedora33Container }}
|
Fedora33-Offline:
|
||||||
_RunOnline: false
|
_BuildArch: x64
|
||||||
|
_Container: ${{ parameters.fedora33Container }}
|
||||||
|
_RunOnline: false
|
||||||
timeoutInMinutes: 240
|
timeoutInMinutes: 240
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Rainer Sigwald <raines@microsoft.com>
|
|
||||||
Date: Fri, 3 Dec 2021 14:24:03 -0600
|
|
||||||
Subject: [PATCH] Don't reference PublicApiAnalyzers in sourcebuild (#7118)
|
|
||||||
|
|
||||||
This package is only super relevant at PR-build time so it should
|
|
||||||
be fine to drop it from source-build scenarios. Fixes #7115.
|
|
||||||
|
|
||||||
Patch created from https://github.com/dotnet/msbuild/pull/7118
|
|
||||||
---
|
|
||||||
src/Directory.Build.targets | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets
|
|
||||||
index 2a840bfd7..bff6cc905 100644
|
|
||||||
--- a/src/Directory.Build.targets
|
|
||||||
+++ b/src/Directory.Build.targets
|
|
||||||
@@ -85,7 +85,7 @@
|
|
||||||
|
|
||||||
<ItemGroup Condition="'$(GenerateReferenceAssemblySource)' == 'true'">
|
|
||||||
<!-- Ensure API stability for shipping packages -->
|
|
||||||
- <PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" PrivateAssets="all" />
|
|
||||||
+ <PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" PrivateAssets="all" Condition="'$(DotNetBuildFromSource)' != 'true'" />
|
|
||||||
|
|
||||||
<AdditionalFiles Include="PublicAPI/$(PublicApiTfm)/PublicAPI.Shipped.txt" />
|
|
||||||
<AdditionalFiles Include="PublicAPI/$(PublicApiTfm)/PublicAPI.Unshipped.txt" />
|
|
|
@ -463,9 +463,13 @@
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="CopyIncludedWorkloadManifestFile" >
|
<Target Name="CopyIncludedWorkloadManifestFile" >
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<WorkloadManifestFilesContent Include="$([MSBuild]::ValueOrDefault('%(BundledManifests.WorkloadManifestId)', '').ToLower())" />
|
<WorkloadManifestFilesContent Include="$([MSBuild]::ValueOrDefault('%(BundledManifests.Identity)', '').ToLower())" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Error Text="No workload manifest content found." Condition="'@(WorkloadManifestFilesContent->Count())' == '0'" />
|
||||||
|
|
||||||
<WriteLinesToFile File="$(SdkOutputDirectory)IncludedWorkloadManifests.txt"
|
<WriteLinesToFile File="$(SdkOutputDirectory)IncludedWorkloadManifests.txt"
|
||||||
Lines="@(WorkloadManifestFilesContent)"
|
Lines="@(WorkloadManifestFilesContent)"
|
||||||
Overwrite="true" />
|
Overwrite="true" />
|
||||||
|
|
Loading…
Reference in a new issue