Skip to content

[infra] Backport CI fixes to release/4.150.x (skiasharp-docker + Apple provisioning) - #4522

Merged
mattleibow merged 2 commits into
release/4.150.xfrom
mattleibow-backport-ci-fixes-4150x
Jul 22, 2026
Merged

mattleibow merged 2 commits into
release/4.150.xfrom
mattleibow-backport-ci-fixes-4150x

Conversation

@mattleibow

Copy link
Copy Markdown
Contributor

Backport CI fixes to release/4.150.x

The new mono-SkiaSharp pipeline (dnceng-public, definition 345) fails on release/4.150.x at YAML compile time — before any job runs. Validation error:

Step Docker1 input containerRegistry references service connection skiasharp-docker which could not be found… (jobs native_linux_arm64 / native_linux_x86)

The skiasharp-docker service connection does not exist in the new dnceng-public project, so the pipeline never compiles. This backports the two infra fixes already on main that resolve it.

Cherry-picked commits

Commit PR Why
72ce5990b4b #4310 — Remove obsolete skiasharp-docker registry auth Fixes the compile failure. The native bootstrapper only builds a local image from the checked-in Dockerfile; the private-registry login was obsolete.
81613c0e748 #4320 — Remove Apple certificate & provisioning profile steps from tests Once the pipeline compiles, the iOS/macOS/tvOS test jobs would fail at runtime loading secure files (SkiaSharp iOS Certificate.p12, etc.) that don't exist in the new public project.

Net effect: 30 deletions across 3 pipeline template files. No behavioral change to native builds (image build + docker run steps are untouched).

Verification

  • Root cause confirmed via preview-run validation of pipeline 345 against release/4.150.x.
  • No skiasharp-docker or Apple cert/provisioning references remain in scripts/.
  • Both commits cherry-picked cleanly (recorded with -x).

Excluded by design: #4294 ([skia-sync] Update Skia to milestone m151) — that's the next milestone and must not land on 4.150.x.

Copilot AI and others added 2 commits July 22, 2026 22:19
[infra] Remove obsolete skiasharp-docker registry auth (#4310)

The native bootstrapper template still referenced the `skiasharp-docker`
service connection in both its 1ES and classic Docker paths even though these
jobs only build a local image from the checked-in Dockerfile and run it for the
bootstrapper step. Keeping the private-registry authentication in place leaves
the pipeline coupled to an external service connection that the template no
longer needs.

Remove the 1ES `authenticatedContainerRegistries` entry and the non-1ES
`Docker@2 login` task, but leave the Docker image build and `docker run` steps
unchanged. This preserves the native bootstrapper behavior while dropping the
stale service-connection dependency from the pipeline definition.

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: mattleibow <[email protected]>
(cherry picked from commit 72ce599)
…tests (#4320)

The iOS, Mac Catalyst, and macOS samples pipeline jobs installed Apple
signing certificates and provisioning profiles from secure files before
building. These jobs only run simulator/local builds (ios-simulator-64,
maccatalyst, and samples), which do not require code signing.

Requiring the secure files prevents running the test pipeline on a new
pipeline instance that does not have them provisioned. Remove the
provisioning-profiles template and its three references so these jobs can
run without the Apple secure files.

Co-authored-by: Copilot <[email protected]>
(cherry picked from commit 81613c0)
@github-actions

Copy link
Copy Markdown
Contributor

📦 Try the packages from this PR

Warning

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 -- 4522

PowerShell / Windows:

iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4522"

Step 2 — Add the local NuGet source

dotnet nuget add source ~/.skiasharp/hives/pr-4522/packages --name skiasharp-pr-4522
More options
Option Description
--successful-only / -SuccessfulOnly Only use successful builds
--force / -Force Overwrite previously downloaded packages
--list / -List List available artifacts without downloading
--build-id ID / -BuildId ID Download from a specific build

Or download manually from Azure Pipelines — look for the nuget artifact on the build for this PR.

Remove the source when you're done:

dotnet nuget remove source skiasharp-pr-4522

@mattleibow
mattleibow merged commit e872235 into release/4.150.x Jul 22, 2026
5 of 61 checks passed
@mattleibow
mattleibow deleted the mattleibow-backport-ci-fixes-4150x branch July 22, 2026 23:42
@github-actions

Copy link
Copy Markdown
Contributor

📦 Artifact size report

Packages from this PR (build 1522268) vs the latest nightly baseline 4.151.0-nightly.83 (observed 2026-07-22).

Total .nupkg size: 536.7 MB → 504.5 MB (−32.2 MB, -6.0%)

Packages

⚠️ marks growth over 500.0 KB or 2%. Changes under 50.0 KB are treated as noise.

Package baseline this PR Δ Δ%
SkiaSharp.NativeAssets.WebAssembly 64.0 MB 42.5 MB 🟢 −21.5 MB -33.6%
HarfBuzzSharp.NativeAssets.WebAssembly 23.2 MB 15.6 MB 🟢 −7.6 MB -32.8%
SkiaSharp.NativeAssets.WinUI 109.0 MB 107.2 MB 🟢 −1.9 MB -1.7%
HarfBuzzSharp.NativeAssets.Win32 20.8 MB 20.5 MB 🟢 −264.9 KB -1.2%
SkiaSharp.NativeAssets.Linux 57.7 MB 57.5 MB 🟢 −237.9 KB -0.4%
SkiaSharp.NativeAssets.Linux.NoDependencies 57.6 MB 57.4 MB 🟢 −232.2 KB -0.4%
SkiaSharp.NativeAssets.Win32 77.5 MB 77.3 MB 🟢 −138.9 KB -0.2%
SkiaSharp.NativeAssets.Android 16.7 MB 16.6 MB 🟢 −64.4 KB -0.4%
SkiaSharp.NativeAssets.tvOS 12.5 MB 12.5 MB 🟢 −59.2 KB -0.5%
SkiaSharp.NativeAssets.iOS 12.5 MB 12.5 MB 🟢 −58.5 KB -0.5%

+30 package(s) unchanged (< 50.0 KB).

Per-file changes

HarfBuzzSharp.NativeAssets.WebAssembly

File Size
🧬 wasm 5.0.6/mt,simd · libHarfBuzzSharp.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/mt,simd/libHarfBuzzSharp.a) 3.4 MB → removed
🧬 wasm 5.0.6/mt,simd · libHarfBuzzSharp.wasm.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/mt,simd/libHarfBuzzSharp.wasm.a) 3.4 MB → removed
🧬 wasm 5.0.6/st,simd · libHarfBuzzSharp.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/st,simd/libHarfBuzzSharp.a) 3.4 MB → removed
🧬 wasm 5.0.6/st,simd · libHarfBuzzSharp.wasm.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/st,simd/libHarfBuzzSharp.wasm.a) 3.4 MB → removed
🧬 wasm 5.0.6/mt · libHarfBuzzSharp.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/mt/libHarfBuzzSharp.a) 3.4 MB → removed
🧬 wasm 5.0.6/mt · libHarfBuzzSharp.wasm.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/mt/libHarfBuzzSharp.wasm.a) 3.4 MB → removed
🧬 wasm 5.0.6/st · libHarfBuzzSharp.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/st/libHarfBuzzSharp.a) 3.4 MB → removed
🧬 wasm 5.0.6/st · libHarfBuzzSharp.wasm.a (buildTransitive/netstandard1.0/libHarfBuzzSharp.a/5.0.6/st/libHarfBuzzSharp.wasm.a) 3.4 MB → removed

HarfBuzzSharp.NativeAssets.Win32

File Size
runtimes/win-x86/native/libHarfBuzzSharp.pdb 22.2 MB → 21.9 MB (🟢 −272.0 KB)
runtimes/win-x64/native/libHarfBuzzSharp.pdb 22.0 MB → 21.8 MB (🟢 −240.0 KB)
runtimes/win-arm64/native/libHarfBuzzSharp.pdb 22.3 MB → 22.3 MB (🟢 −8.0 KB)

SkiaSharp.NativeAssets.Android

File Size
🧬 android-x86 (runtimes/android-x86/native/libSkiaSharp.so) 10.9 MB → 10.8 MB (🟢 −39.1 KB)
🧬 android-x64 (runtimes/android-x64/native/libSkiaSharp.so) 9.7 MB → 9.7 MB (🟢 −31.0 KB)
🧬 android-arm64 (runtimes/android-arm64/native/libSkiaSharp.so) 9.0 MB → 9.0 MB (🟢 −28.1 KB)
🧬 android-arm (runtimes/android-arm/native/libSkiaSharp.so) 6.0 MB → 6.0 MB (🟢 −23.6 KB)

SkiaSharp.NativeAssets.Linux

File Size
🧬 linux-x86 (runtimes/linux-x86/native/libSkiaSharp.so) 12.1 MB → 12.0 MB (🟢 −49.2 KB)
🧬 linux-musl-x64 (runtimes/linux-musl-x64/native/libSkiaSharp.so) 11.4 MB → 11.3 MB (🟢 −41.5 KB)
🧬 linux-x64 (runtimes/linux-x64/native/libSkiaSharp.so) 11.2 MB → 11.2 MB (🟢 −41.3 KB)
🧬 linux-bionic-x64 (runtimes/linux-bionic-x64/native/libSkiaSharp.so) 11.3 MB → 11.2 MB (🟢 −39.4 KB)
🧬 linux-musl-arm64 (runtimes/linux-musl-arm64/native/libSkiaSharp.so) 11.2 MB → 11.2 MB (🟢 −39.1 KB)
🧬 linux-arm64 (runtimes/linux-arm64/native/libSkiaSharp.so) 11.1 MB → 11.1 MB (🟢 −38.9 KB)
🧬 linux-bionic-arm64 (runtimes/linux-bionic-arm64/native/libSkiaSharp.so) 11.3 MB → 11.3 MB (🟢 −37.9 KB)
🧬 linux-musl-loongarch64 (runtimes/linux-musl-loongarch64/native/libSkiaSharp.so) 10.9 MB → 10.9 MB (🟢 −37.6 KB)
🧬 linux-loongarch64 (runtimes/linux-loongarch64/native/libSkiaSharp.so) 10.7 MB → 10.7 MB (🟢 −37.6 KB)
🧬 linux-arm (runtimes/linux-arm/native/libSkiaSharp.so) 7.9 MB → 7.9 MB (🟢 −32.7 KB)
🧬 linux-musl-arm (runtimes/linux-musl-arm/native/libSkiaSharp.so) 8.0 MB → 7.9 MB (🟢 −32.7 KB)
🧬 linux-musl-riscv64 (runtimes/linux-musl-riscv64/native/libSkiaSharp.so) 10.3 MB → 10.2 MB (🟢 −28.9 KB)
🧬 linux-riscv64 (runtimes/linux-riscv64/native/libSkiaSharp.so) 10.1 MB → 10.1 MB (🟢 −28.7 KB)

SkiaSharp.NativeAssets.Linux.NoDependencies

File Size
🧬 linux-x86 (runtimes/linux-x86/native/libSkiaSharp.so) 12.1 MB → 12.0 MB (🟢 −49.2 KB)
🧬 linux-musl-x64 (runtimes/linux-musl-x64/native/libSkiaSharp.so) 11.3 MB → 11.3 MB (🟢 −41.5 KB)
🧬 linux-x64 (runtimes/linux-x64/native/libSkiaSharp.so) 11.2 MB → 11.2 MB (🟢 −41.4 KB)
🧬 linux-bionic-x64 (runtimes/linux-bionic-x64/native/libSkiaSharp.so) 11.3 MB → 11.2 MB (🟢 −39.4 KB)
🧬 linux-musl-arm64 (runtimes/linux-musl-arm64/native/libSkiaSharp.so) 11.2 MB → 11.1 MB (🟢 −39.1 KB)
🧬 linux-arm64 (runtimes/linux-arm64/native/libSkiaSharp.so) 11.1 MB → 11.0 MB (🟢 −38.9 KB)
🧬 linux-bionic-arm64 (runtimes/linux-bionic-arm64/native/libSkiaSharp.so) 11.3 MB → 11.3 MB (🟢 −37.9 KB)
🧬 linux-loongarch64 (runtimes/linux-loongarch64/native/libSkiaSharp.so) 10.7 MB → 10.7 MB (🟢 −37.6 KB)
🧬 linux-musl-loongarch64 (runtimes/linux-musl-loongarch64/native/libSkiaSharp.so) 10.9 MB → 10.9 MB (🟢 −37.5 KB)
🧬 linux-musl-arm (runtimes/linux-musl-arm/native/libSkiaSharp.so) 7.9 MB → 7.9 MB (🟢 −32.7 KB)
🧬 linux-arm (runtimes/linux-arm/native/libSkiaSharp.so) 7.9 MB → 7.9 MB (🟢 −32.7 KB)
🧬 linux-musl-riscv64 (runtimes/linux-musl-riscv64/native/libSkiaSharp.so) 10.2 MB → 10.2 MB (🟢 −28.9 KB)
🧬 linux-riscv64 (runtimes/linux-riscv64/native/libSkiaSharp.so) 10.1 MB → 10.0 MB (🟢 −28.9 KB)

SkiaSharp.NativeAssets.WebAssembly

File Size
🧬 wasm 5.0.6/st,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/5.0.6/st,simd/libSkiaSharp.a) 15.9 MB → removed
🧬 wasm 5.0.6/mt,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/5.0.6/mt,simd/libSkiaSharp.a) 15.9 MB → removed
🧬 wasm 5.0.6/st · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/5.0.6/st/libSkiaSharp.a) 15.6 MB → removed
🧬 wasm 5.0.6/mt · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/5.0.6/mt/libSkiaSharp.a) 15.6 MB → removed
🧬 wasm 3.1.56/mt · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.56/mt/libSkiaSharp.a) 15.4 MB → 15.4 MB (🟢 −34.1 KB)
🧬 wasm 3.1.56/mt,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.56/mt,simd/libSkiaSharp.a) 15.7 MB → 15.6 MB (🟢 −33.8 KB)
🧬 wasm 3.1.56/st · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.56/st/libSkiaSharp.a) 15.5 MB → 15.5 MB (🟢 −33.7 KB)
🧬 wasm 3.1.34/mt · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.34/mt/libSkiaSharp.a) 15.5 MB → 15.5 MB (🟢 −33.5 KB)
🧬 wasm 3.1.56/st,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.56/st,simd/libSkiaSharp.a) 15.7 MB → 15.7 MB (🟢 −33.5 KB)
🧬 wasm 3.1.34/mt,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.34/mt,simd/libSkiaSharp.a) 15.8 MB → 15.8 MB (🟢 −33.3 KB)
🧬 wasm 3.1.34/st · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.34/st/libSkiaSharp.a) 15.6 MB → 15.6 MB (🟢 −33.2 KB)
🧬 wasm 3.1.34/st,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.34/st,simd/libSkiaSharp.a) 15.9 MB → 15.8 MB (🟢 −33.0 KB)

SkiaSharp.NativeAssets.Win32

File Size
runtimes/win-x64/native/libSkiaSharp.pdb 85.0 MB → 84.8 MB (🟢 −204.0 KB)
runtimes/win-x86/native/libSkiaSharp.pdb 87.6 MB → 87.4 MB (🟢 −196.0 KB)
runtimes/win-arm64/native/libSkiaSharp.pdb 82.0 MB → 81.9 MB (🟢 −168.0 KB)
🧬 win-arm64 (runtimes/win-arm64/native/libSkiaSharp.dll) 10.0 MB → 10.0 MB (🟢 −17.5 KB)
🧬 win-x64 (runtimes/win-x64/native/libSkiaSharp.dll) 11.7 MB → 11.7 MB (🟢 −17.0 KB)
🧬 win-x86 (runtimes/win-x86/native/libSkiaSharp.dll) 10.2 MB → 10.2 MB (🟢 −17.0 KB)

SkiaSharp.NativeAssets.WinUI

File Size
runtimes/win-x86/native/libGLESv2.pdb 67.3 MB → 67.0 MB (🟢 −240.0 KB)
runtimes/win-x64/native/libGLESv2.pdb 66.6 MB → 66.4 MB (🟢 −208.0 KB)
runtimes/win-arm64/native/libGLESv2.pdb 64.5 MB → 64.3 MB (🟢 −192.0 KB)
runtimes/win-x64/native/libEGL.pdb 6.4 MB → 6.3 MB (🟢 −32.0 KB)
runtimes/win-x86/native/libEGL.pdb 6.5 MB → 6.5 MB (🟢 −16.0 KB)
runtimes/win-arm64/native/SkiaSharp.Views.WinUI.Native.pdb 67.7 MB → 67.7 MB (🟢 −8.0 KB)
runtimes/win-x64/native/SkiaSharp.Views.WinUI.Native.pdb 68.0 MB → 68.0 MB (🟢 −8.0 KB)
🧬 win-x64 (runtimes/win-x64/native/libGLESv2.dll) 4.9 MB → 4.9 MB (🔴 +2.0 KB)
🧬 win-arm64 (runtimes/win-arm64/native/libGLESv2.dll) 4.4 MB → 4.4 MB (🔴 +1.0 KB)

SkiaSharp.NativeAssets.iOS

File Size
🧬 iossimulator (framework) (runtimes/iossimulator/native/libSkiaSharp.framework/libSkiaSharp) 12.9 MB → 12.8 MB (🟢 −64.4 KB)
🧬 ios (framework) (runtimes/ios/native/libSkiaSharp.framework/libSkiaSharp) 12.9 MB → 12.9 MB (🟢 −48.2 KB)

SkiaSharp.NativeAssets.tvOS

File Size
🧬 tvossimulator (framework) (runtimes/tvossimulator/native/libSkiaSharp.framework/libSkiaSharp) 12.9 MB → 12.8 MB (🟢 −64.4 KB)
🧬 tvos (framework) (runtimes/tvos/native/libSkiaSharp.framework/libSkiaSharp) 12.9 MB → 12.9 MB (🟢 −48.2 KB)

Informational only — this never blocks the PR. Native binaries are labelled by os/arch.

@github-actions github-actions Bot added this to the 4.150.2 milestone Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants