Skip to content

Commit b3db86a

Browse files
authored
[ci] Opt in to symbol archiving during VS insertion (#6195)
Context: xamarin/yaml-templates#131 Enables conversion and archiving of symbol files during the VS insertion stage. Symbol archiving steps will only run if both the `symbolArtifactName` parameter is provided, and `archiveSymbols` is set to true. The `symbolConversionFilters` parameter can be used to filter out paths of symbol files that should not be converted/archived.
1 parent bcc3158 commit b3db86a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

build-tools/automation/azure-pipelines.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,6 +1358,9 @@ stages:
13581358
- template: vs-insertion/stage/v1.yml@yaml
13591359
parameters:
13601360
dependsOn: dotnet_prepare_release
1361+
symbolArtifactName: nuget-signed
1362+
symbolArtifactPatterns: |
1363+
!*Darwin*
13611364
condition: eq(variables['MicroBuildSignType'], 'Real')
13621365

13631366
- stage: finalize_installers

build-tools/create-packs/Microsoft.Android.Sdk.proj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,10 @@ core workload SDK packs imported by WorkloadManifest.targets.
6767
<_PackageFiles Include="$(XAInstallPrefix)xbuild\Xamarin\Android\Microsoft.Android.Sdk.ILLink.pdb" PackagePath="tools" />
6868
<_PackageFiles Include="$(ToolsSourceDir)**" PackagePath="tools" />
6969
<_PackageFiles Include="$(NetCoreAppToolsSourceDir)generator.dll" PackagePath="tools" />
70+
<_PackageFiles Include="$(NetCoreAppToolsSourceDir)generator.pdb" PackagePath="tools" />
7071
<_PackageFiles Include="$(NetCoreAppToolsSourceDir)generator.runtimeconfig.json" PackagePath="tools" />
7172
<_PackageFiles Include="$(NetCoreAppToolsSourceDir)javadoc-to-mdoc.dll" PackagePath="tools" />
73+
<_PackageFiles Include="$(NetCoreAppToolsSourceDir)javadoc-to-mdoc.pdb" PackagePath="tools" />
7274
<_PackageFiles Include="$(NetCoreAppToolsSourceDir)javadoc-to-mdoc.runtimeconfig.json" PackagePath="tools" />
7375
<_PackageFiles Include="$(XAInstallPrefix)xbuild-frameworks\Microsoft.Android\Version*" PackagePath="tools" />
7476
<_PackageFiles Include="$(XamarinAndroidSourcePath)src\Xamarin.Android.Build.Tasks\Microsoft.Android.Sdk\Sdk\**" PackagePath="Sdk" />

0 commit comments

Comments
 (0)