mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
build: multi channel install test
This commit is contained in:
@@ -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)。
|
||||
|
||||
Reference in New Issue
Block a user