Repository navigation
Commit fd32211
committed
fix(ci): Windows 目标 clippy 不再编译自带的 SQLite,补上停摆期间漏检的告警 (Refs 1lck/Lithe-IDEA#2231)
#154 给 lithe-remote 加了 motty(bundled rusqlite),lithe-workspace 默认
打开它。从那以后,“Lint for Windows” 在 Linux runner 上编译 SQLite 的 C
源码时找不到 MSVC 的 lib.exe,所有 PR 的 Rust Core / Linux 和 gate 都失败。
- 这个步骤加 LIBSQLITE3_SYS_USE_PKG_CONFIG=1:libsqlite3-sys 只复制预生成
绑定、输出链接指令,不编译 C 源码。clippy 不链接,检查结果不变。
- 步骤停摆期间漏进来的告警:ssh_configuration 测试里只给 Unix 测试用的
Directory::write、lines、DEFAULTS 加 #[cfg(unix)]。
- CONTRIBUTING 的本地 Windows clippy 命令同样加上这个变量。1 parent 18feb4a commit fd32211
3 files changed
Lines changed: 13 additions & 3 deletions
File tree
- .github/workflows
- rust/crates/workspace/src/ssh_configuration
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
115 | 118 | | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| 59 | + | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| 64 | + | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
| |||
0 commit comments