Commit abcce0a
committed
Optimize CI test workflow with caching
- Add ccache to speed up C++ compilation (2-10x faster rebuilds)
- Cache build directory between runs
- Cache key based on source file hashes (rebuilds only when code changes)
- Use LLVM_OPTIMIZED_TABLEGEN for faster initial builds
- First run: ~30-40 mins
- Subsequent runs with no changes: ~2-5 mins (just cache restore + test)
- Subsequent runs with small changes: ~5-10 mins (incremental build)
This makes the CI actually usable for regular development!1 parent a228ce8 commit abcce0a
1 file changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
24 | 39 | | |
25 | 40 | | |
26 | 41 | | |
| 42 | + | |
27 | 43 | | |
28 | 44 | | |
29 | 45 | | |
30 | 46 | | |
| 47 | + | |
| 48 | + | |
31 | 49 | | |
32 | 50 | | |
33 | 51 | | |
| 52 | + | |
34 | 53 | | |
35 | 54 | | |
36 | 55 | | |
37 | 56 | | |
38 | 57 | | |
| 58 | + | |
39 | 59 | | |
40 | 60 | | |
41 | 61 | | |
| |||
0 commit comments