Skip to content

Commit a885da6

Browse files
committed
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.
1 parent fd4144b commit a885da6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/vp-binary-size.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ jobs:
153153
vp: `target/${target}/release/vp.exe`,
154154
napi: 'packages/cli/binding/vite-plus.win32-x64-msvc.node',
155155
trampoline: `target/${target}/release/vp-shim.exe`,
156+
installer: `target/${target}/release/vp-setup.exe`,
156157
};
157158
158159
const artifacts = {};
@@ -301,6 +302,13 @@ jobs:
301302
headRaw: headWindows.artifacts.trampoline.raw,
302303
headGzip: headWindows.artifacts.trampoline.gzip,
303304
},
305+
{
306+
name: 'Installer (Windows x64)',
307+
baseRaw: baseWindows.artifacts.installer.raw,
308+
baseGzip: baseWindows.artifacts.installer.gzip,
309+
headRaw: headWindows.artifacts.installer.raw,
310+
headGzip: headWindows.artifacts.installer.gzip,
311+
},
304312
];
305313
306314
const formatSize = (bytes, includePlus = false) => {

0 commit comments

Comments
 (0)