build: multi channel install test

This commit is contained in:
rendianmeng
2026-07-23 18:18:46 +08:00
parent 9fbd2e4ec6
commit 168e2b5ccb
2 changed files with 6 additions and 1 deletions
+2
View File
@@ -62,8 +62,10 @@ vp check
| 矩阵变更未通知脚本方 | 装错 arch / 永久失败 |
| webhook 配错当发版失败 | 不应;webhook 失败只 warn |
| 用 `Bun.build({ compile })` 代替 CLI | Bun ≤1.2.19 可能 exit 0 但不写 outfile → `sha256` ENOENT |
| 编译后未 `chmod` windows `.exe` | Bun 1.2.19 在 Unix 上写出 mode `000` → `sha256` / upload `EACCES` |
## 编译实现注意
- `binary-compile.mjs` 必须走 **`bun build --compile --outfile …`**,不要用 `Bun.build({ compile })`(CI 钉 `1.2.19` 时 API 会假成功)。
- 编译后校验 outfile 存在再算 SHA256。
- 每个产物在哈希前 `chmod 0755`(规避 Bun 1.2.19 windows cross-compile 无权限,见 oven-sh/bun#21308)。