From a885da69f93fac305053a14635bc7471038b2bb0 Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Thu, 9 Jul 2026 03:17:21 +0000 Subject: [PATCH] ci: add installer (vp-setup.exe) to native binary size report (#2105) The vp-binary-size workflow measured vp, NAPI, and the Windows trampoline (vp-shim.exe) but omitted the Windows installer (vp-setup.exe), even though both build-upstream and build-windows-cli build and cache it alongside the other artifacts. Measure vp-setup.exe on Windows and add an "Installer (Windows x64)" row to the report. --- .github/workflows/vp-binary-size.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/vp-binary-size.yml b/.github/workflows/vp-binary-size.yml index 58e1c06188..e0cc2dbaee 100644 --- a/.github/workflows/vp-binary-size.yml +++ b/.github/workflows/vp-binary-size.yml @@ -153,6 +153,7 @@ jobs: vp: `target/${target}/release/vp.exe`, napi: 'packages/cli/binding/vite-plus.win32-x64-msvc.node', trampoline: `target/${target}/release/vp-shim.exe`, + installer: `target/${target}/release/vp-setup.exe`, }; const artifacts = {}; @@ -301,6 +302,13 @@ jobs: headRaw: headWindows.artifacts.trampoline.raw, headGzip: headWindows.artifacts.trampoline.gzip, }, + { + name: 'Installer (Windows x64)', + baseRaw: baseWindows.artifacts.installer.raw, + baseGzip: baseWindows.artifacts.installer.gzip, + headRaw: headWindows.artifacts.installer.raw, + headGzip: headWindows.artifacts.installer.gzip, + }, ]; const formatSize = (bytes, includePlus = false) => {