* use cibuild to upload symbols

* add native dll& pdb

* enable converting to windows pdb

* include pdbs in symstore

Co-authored-by: XiaoYun Zhang <xiaoyuz@microsoft.com>
This commit is contained in:
Xiaoyun Zhang 2021-06-01 12:09:02 -07:00 коммит произвёл GitHub
Родитель 09265b09d5
Коммит d266c86096
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -22,16 +22,19 @@
<Target Name="SetupPublishSymbols">
<PropertyGroup>
<SymbolExpirationInDays Condition="'$(SymbolExpirationInDays)'=='' and '$(SymbolExpirationDate)'==''">180</SymbolExpirationInDays>
<SymbolExpirationInDays Condition="'$(SymbolExpirationInDays)'=='' and '$(SymbolExpirationDate)'==''">3650</SymbolExpirationInDays>
<ConvertPortablePdbsToWindowsPdbs>false</ConvertPortablePdbsToWindowsPdbs>
</PropertyGroup>
<ItemGroup>
<SymbolPackagesToPublish Include="$(ArtifactsDir)packages\**\*.snupkg" />
<SymbolFilesToPublish Include="$(ArtifactsDir)SymStore\**\*.pdb" />
</ItemGroup>
<Message Importance="High" Text="Publishing @(SymbolPackagesToPublish) to $(SymbolServerPath)"/>
<Error Condition="'@(SymbolPackagesToPublish)'==''" Text="There are no symbol nuget packages to publish" />
<Message Importance="High" Text="Publishing @(SymbolFilesToPublish) to $(SymbolServerPath)"/>
<Warning Condition="'@(SymbolPackagesToPublish)'==''" Text="There are no symbol nuget packages to publish" />
<Warning Condition="'@(SymbolFilesToPublish)'==''" Text="There are no symbol files to publish" />
</Target>
</Project>