mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-09-24 15:49:09 +00:00
Initialize MSVC for Windows package builds
This commit is contained in:
@@ -44,3 +44,12 @@ test("build workflow installs bsdtar for Arch pacman packaging", () => {
|
||||
"both Linux package jobs must install libarchive-tools for pacman metadata generation",
|
||||
);
|
||||
});
|
||||
|
||||
test("build workflow initializes MSVC before Windows packaging", () => {
|
||||
const msvcStep = /name:\s*Set up MSVC developer command prompt[\s\S]*?if:\s*matrix\.name == 'windows'[\s\S]*?uses:\s*ilammy\/msvc-dev-cmd@v1[\s\S]*?arch:\s*x64/;
|
||||
assert.match(
|
||||
buildWorkflow,
|
||||
msvcStep,
|
||||
"Windows package builds must initialize the MSVC developer prompt so cl.exe is available for the Windows Hello helper",
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user