Add Arch pacman Linux package (#1344)

This commit is contained in:
陈大猫
2026-06-09 21:07:56 +08:00
committed by GitHub
parent 61e8de4270
commit 6af62aa093
7 changed files with 85 additions and 4 deletions
+22
View File
@@ -22,3 +22,25 @@ test("build workflow no longer installs removed legacy agent binaries", () => {
);
}
});
test("build workflow uploads and releases Arch pacman artifacts", () => {
const releaseUploadPatterns = buildWorkflow.match(/release\/\*\.pacman/g) ?? [];
assert.equal(
releaseUploadPatterns.length,
3,
"mac/windows aggregate upload plus both Linux jobs must include release/*.pacman",
);
assert.ok(
buildWorkflow.includes("artifacts/*.pacman"),
"GitHub release file list must include downloaded pacman artifacts",
);
});
test("build workflow installs bsdtar for Arch pacman packaging", () => {
const installMentions = buildWorkflow.match(/libarchive-tools/g) ?? [];
assert.equal(
installMentions.length,
2,
"both Linux package jobs must install libarchive-tools for pacman metadata generation",
);
});