Commit 80956ca
authored
CI: fix compile_commands.json caching (xapi-project#6356)
When the cache for compile_commands.json got reused we didn't install
the OCaml compiler, which caused failures in the static analyzer,
because it couldn't locate the compiler runtime headers.
Do not skip setup-xapi-environment when the cache is reused.
This could be optimized to skip installing dune packages (install just
the compiler), but for now just install everything to avoid the error.
Now when the cache is used we only skip installing/running
dune-compiledb.1 file changed
+0
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 30 | | |
38 | | - | |
39 | 31 | | |
40 | 32 | | |
41 | 33 | | |
42 | 34 | | |
43 | 35 | | |
44 | | - | |
45 | 36 | | |
46 | 37 | | |
47 | 38 | | |
48 | 39 | | |
49 | 40 | | |
50 | | - | |
51 | 41 | | |
52 | 42 | | |
53 | 43 | | |
54 | | - | |
55 | 44 | | |
56 | 45 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | 46 | | |
64 | 47 | | |
65 | 48 | | |
| |||
0 commit comments