Commit ee6bc24
committed
fix(ci): provide libclang for the test and bench jobs
nextest (cargo test --no-run) and cargo bench both compile the
dev-dependency graph which pulls in rocksdb → librocksdb-sys →
bindgen → libclang. Windows runner images already ship LLVM; Linux
and macOS do not.
Added an LLVM/Clang install step to the test job (apt on Linux,
brew + LIBCLANG_PATH on macOS) and to the bench job (apt on Linux),
so bindgen can locate libclang on every platform and the jobs no
longer fail at the compile step.1 parent 874d51d commit ee6bc24
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
98 | 111 | | |
99 | 112 | | |
100 | 113 | | |
| |||
225 | 238 | | |
226 | 239 | | |
227 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
228 | 246 | | |
229 | 247 | | |
230 | 248 | | |
| |||
0 commit comments