Repository navigation
Restore SkiaSharp.Vulkan.Silk.NET package production - #4841
Conversation
Include the Silk.NET Vulkan project in every platform package filter and register its 4.152.0 baseline in the supported NuGet inventory. Co-authored-by: Copilot App <[email protected]> Copilot-Session: b3df0b20-ad56-421a-a413-22ee9bce9b52
📦 Try the packages from this PRWarning Do not run these scripts without first reviewing the code in this PR. Step 1 — Download the packages bash / macOS / Linux: curl -fsSL https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.sh | bash -s -- 4841PowerShell / Windows: iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4841"Step 2 — Add the local NuGet source dotnet nuget add source ~/.skiasharp/hives/pr-4841/packages --name skiasharp-pr-4841More options
Or download manually from Azure Pipelines — look for the Remove the source when you're done: dotnet nuget remove source skiasharp-pr-4841 |
|
📖 Documentation Preview The documentation for this PR has been deployed and is available at: 🔗 View Staging Site This preview will be updated automatically when you push new commits to this PR. This comment is automatically updated by the documentation staging workflow. |
📊 SkiaSharp benchmarks — PR #4841⭐ this PR (full source build) vs 🌙 nightly · Linux · Windows · macOS
Highlights⏱️ Time — 🔴 23 slower · 🟢 47 faster
Full per-OS benchmark deltasLinux⏱️ Time (vs 🌙 nightly
Windows⏱️ Time (vs 🌙 nightly
macOS⏱️ Time (vs 🌙 nightly
|
📦 Artifact size reportPackages from this PR (build Total Packages
+37 package(s) unchanged (< 50.0 KB). Per-file changes
|
| File | Size |
|---|---|
runtimes/win-x86/native/libHarfBuzzSharp.pdb |
22.0 MB → 22.2 MB (🔴 +264.0 KB) |
runtimes/win-arm64/native/libHarfBuzzSharp.pdb |
22.3 MB → 22.5 MB (🔴 +184.0 KB) |
SkiaSharp.NativeAssets.WinUI
| File | Size |
|---|---|
runtimes/win-arm64/native/libGLESv2.pdb |
64.5 MB → 64.4 MB (🟢 −144.0 KB) |
runtimes/win-x64/native/libGLESv2.pdb |
66.6 MB → 66.5 MB (🟢 −96.0 KB) |
runtimes/win-x86/native/libGLESv2.pdb |
67.3 MB → 67.2 MB (🟢 −96.0 KB) |
runtimes/win-x86/native/libEGL.pdb |
6.5 MB → 6.5 MB (🟢 −16.0 KB) |
Informational only — this never blocks the PR. Native binaries are labelled by os/arch.
Description
Restores
SkiaSharp.Vulkan.Silk.NETto normal package production. The project already belongs to the full source solution and Vulkan test solutions, but the platform-specific solution filters used by managed CI builds and NuGet packing selected only the SharpVk Vulkan package. Adding Silk.NET to those filters and toSUPPORTED_NUGETSensures stable and preview package builds produce and track it consistently.Related issues
None.
Required skia PR
None.
Areas affected
binding/)externals/skia/src/c,include/c)Changes
Behavior
Platform package builds produce
SkiaSharp.Vulkan.Silk.NETagain. There are no managed or native API changes.Testing
dotnet cake --target=externals-downloadcompleted successfully.dotnet sln source/SkiaSharpSource.{Windows,Mac,Linux}.slnf listconfirmed each platform filter selectsSkiaSharp.Vulkan.Silk.NET.csproj.dotnet pack source/SkiaSharp.Vulkan/SkiaSharp.Vulkan.Silk.NET/SkiaSharp.Vulkan.Silk.NET.csproj --configuration ReleaseproducedSkiaSharp.Vulkan.Silk.NET.4.152.0.nupkg.ganesh-gl/DiagonalLinesgolden mismatch (1,832 outlier pixels versus 1,310 allowed). This packaging-only change does not affect rendering; CI will provide the authoritative platform validation.Checklist
Changesabove lists all public API and behavioral changes (or "None.")mono/skiaPR linked above and bindings regenerated (not applicable: no native changes)