Download additional SkiaSharp symbols (#2415)
This commit is contained in:
Родитель
201e60a71e
Коммит
b80186d44b
|
@ -20,6 +20,11 @@
|
|||
<PropertyGroup>
|
||||
<_XamarinAndroidGlideVersion>4.11.0.1</_XamarinAndroidGlideVersion>
|
||||
</PropertyGroup>
|
||||
<!-- SkiaSharp related Packages -->
|
||||
<PropertyGroup>
|
||||
<_SkiaSharpVersion>2.88.0-preview.127</_SkiaSharpVersion>
|
||||
<_SkiaSharpNativeAssetsVersion>0.0.0-commit.d5187387149d680645e1dbefbb726c50bfab46e9.127</_SkiaSharpNativeAssetsVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0-ios' Or '$(TargetFramework)' == 'net6.0-maccatalyst'">
|
||||
<!-- Debugger workaround -->
|
||||
<MtouchExtraArgs>$(MtouchExtraArgs) --setenv:MONO_THREADS_SUSPEND=preemptive</MtouchExtraArgs>
|
||||
|
|
|
@ -174,6 +174,23 @@ Task("dotnet-pack")
|
|||
DiagnosticOutput = true,
|
||||
ArgumentCustomization = args => args.Append($"./eng/package.ps1 -configuration \"{configuration}\"")
|
||||
});
|
||||
|
||||
// Download some additional symbols that need to be archived along with the maui symbols:
|
||||
// - _NativeAssets.windows
|
||||
// - libSkiaSharp.pdb
|
||||
// - libHarfBuzzSharp.pdb
|
||||
var assetsDir = "./artifacts/additional-assets";
|
||||
var nativeAssetsVersion = XmlPeek("./eng/Microsoft.Extensions.targets", "/Project/PropertyGroup/_SkiaSharpNativeAssetsVersion");
|
||||
NuGetInstall("_NativeAssets.windows", new NuGetInstallSettings
|
||||
{
|
||||
Version = nativeAssetsVersion,
|
||||
ExcludeVersion = true,
|
||||
OutputDirectory = assetsDir,
|
||||
Source = new[] { "https://aka.ms/skiasharp-eap/index.json" },
|
||||
});
|
||||
foreach (var nupkg in GetFiles($"{assetsDir}/**/*.nupkg"))
|
||||
DeleteFile(nupkg);
|
||||
Zip(assetsDir, $"{assetsDir}.zip");
|
||||
});
|
||||
|
||||
Task("dotnet-build-test")
|
||||
|
|
|
@ -166,6 +166,7 @@ stages:
|
|||
inputs:
|
||||
Contents: |
|
||||
artifacts/**/*.*nupkg
|
||||
artifacts/**/*.zip
|
||||
artifacts/vs-workload.props
|
||||
eng/automation/SignList.xml
|
||||
TargetFolder: $(build.artifactstagingdirectory)
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
<PackageReference Include="HarfBuzzSharp.NativeAssets.Linux" Version="2.8.2-preview.127" GeneratePathProperty="true" PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.Build.Framework" Version="16.7.0" PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.7.0" PrivateAssets="all" />
|
||||
<PackageReference Include="SkiaSharp" Version="2.88.0-preview.127" GeneratePathProperty="true" PrivateAssets="all" />
|
||||
<PackageReference Include="SkiaSharp.NativeAssets.Win32" Version="2.88.0-preview.127" GeneratePathProperty="true" PrivateAssets="all" />
|
||||
<PackageReference Include="SkiaSharp.NativeAssets.macOS" Version="2.88.0-preview.127" GeneratePathProperty="true" PrivateAssets="all" />
|
||||
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.0-preview.127" GeneratePathProperty="true" PrivateAssets="all" />
|
||||
<PackageReference Include="SkiaSharp.HarfBuzz" Version="2.88.0-preview.127" GeneratePathProperty="true" PrivateAssets="all" />
|
||||
<PackageReference Include="SkiaSharp" Version="$(_SkiaSharpVersion)" GeneratePathProperty="true" PrivateAssets="all" />
|
||||
<PackageReference Include="SkiaSharp.NativeAssets.Win32" Version="$(_SkiaSharpVersion)" GeneratePathProperty="true" PrivateAssets="all" />
|
||||
<PackageReference Include="SkiaSharp.NativeAssets.macOS" Version="$(_SkiaSharpVersion)" GeneratePathProperty="true" PrivateAssets="all" />
|
||||
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="$(_SkiaSharpVersion)" GeneratePathProperty="true" PrivateAssets="all" />
|
||||
<PackageReference Include="SkiaSharp.HarfBuzz" Version="$(_SkiaSharpVersion)" GeneratePathProperty="true" PrivateAssets="all" />
|
||||
<PackageReference Include="Svg.Skia" Version="0.4.1" GeneratePathProperty="true" PrivateAssets="all" />
|
||||
<PackageReference Include="Svg.Custom" Version="0.4.1" GeneratePathProperty="true" PrivateAssets="all" />
|
||||
<PackageReference Include="Svg.Picture" Version="0.4.1" GeneratePathProperty="true" PrivateAssets="all" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче