Commit 9f57f3a
Enable ccache reusing between apps on some CI workflows (project-chip#41503)
* Configure ccache for a greater hit ratio (project-chip#40724)
* Disable reusing cache in global env setup
* Enable ccache reuse on some CI workflows
* Update scripts/setup/bootstrap.sh
Co-authored-by: Copilot <[email protected]>
* Simplify prefix script so it will run faster
* Show ccache stats in post action
* Use ccache as PW launcher
* Do not use ccache with i.MX builds - there is not enough benefit:
Overall workflow time: 48m 15s
Cacheable calls: 2951 / 2951 (100.0%)
Hits: 144 / 2951 ( 4.88%)
Direct: 30 / 144 (20.83%)
Preprocessed: 114 / 144 (79.17%)
Misses: 2807 / 2951 (95.12%)
Local storage:
Cache size (GiB): 0.5 / 5.0 (10.83%)
Hits: 144 / 2951 ( 4.88%)
Misses: 2807 / 2951 (95.12%)
Without ccache time was ~40 min. So, such caching does not make
sense here.
---------
Co-authored-by: Miłosz Tomkiel <[email protected]>
Co-authored-by: Copilot <[email protected]>1 parent c87ece5 commit 9f57f3a
File tree
6 files changed
+39
-17
lines changed- .github
- actions/setup-ccache
- workflows
- scripts
- helpers
- setup
6 files changed
+39
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
179 | 181 | | |
180 | 182 | | |
181 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | 321 | | |
325 | 322 | | |
326 | 323 | | |
| |||
824 | 821 | | |
825 | 822 | | |
826 | 823 | | |
827 | | - | |
828 | | - | |
829 | | - | |
830 | 824 | | |
831 | 825 | | |
832 | 826 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
207 | 217 | | |
208 | 218 | | |
209 | 219 | | |
| |||
0 commit comments