Commit 5133dcc
ci: stop building unused targets in the validate workflows (#3052)
* ci: stop building unused targets in the validate workflows
The llama.cpp and vLLM validate jobs built every CMake target; both only
need lemond (plus the CLI for sd.cpp/vLLM). Cache build/_deps in the three
validate jobs and drop the `Remove-Item build` that would have deleted the
restored cache.
- validate_llamacpp: all targets -> lemond, BUILD_WEB_APP=OFF, _deps cache
- validate_sdcpp: _deps cache, drop build/ wipe
- validate_vllm: all targets -> lemond lemonade, _deps cache
- actions/cache v4 -> v5 in the Windows embeddable job
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* ci: address review on the validate build caches
- vLLM: install build deps directly instead of ./setup.sh, whose
"Preparing build directory" step rm -rf's the restored _deps cache
- share one _deps cache between the two Windows validate jobs rather
than writing one each; the repo is near the 10 GB Actions cache cap
- add toolchain/runner-image markers and cmake/*.cmake to the cache keys
- verify build/lemonade in the vLLM build job
- finish the action-version bump in the Windows embeddable job
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* Revert "ci: bump action versions in the Windows embeddable job"
The embeddable job neither builds validate targets nor shares a cache
with them, so the action-version bumps do not belong in this PR.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* ci: drop the _deps cache from the validate workflows
The warm-cache rerun showed it does not pay for itself: 2 of 3 jobs
missed even though the prior attempt had saved both keys 14 hours
earlier (the repo's Actions cache is at its 10 GB cap, so ~550 MB
entries are evicted within hours), and the job that did hit got slower.
Configure dominates these builds and reconfigures either way, leaving a
~30s ceiling on a 10-minute job.
Also reverts the two changes that only existed to protect the cache:
the `Remove-Item build` deletions and vLLM's direct apt-get install in
place of setup.sh.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent e492992 commit 5133dcc
3 files changed
Lines changed: 22 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
386 | 388 | | |
387 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
388 | 393 | | |
389 | 394 | | |
390 | 395 | | |
| |||
628 | 633 | | |
629 | 634 | | |
630 | 635 | | |
631 | | - | |
| 636 | + | |
632 | 637 | | |
633 | 638 | | |
634 | 639 | | |
| |||
642 | 647 | | |
643 | 648 | | |
644 | 649 | | |
645 | | - | |
| 650 | + | |
646 | 651 | | |
647 | 652 | | |
648 | 653 | | |
| |||
831 | 836 | | |
832 | 837 | | |
833 | 838 | | |
834 | | - | |
| 839 | + | |
835 | 840 | | |
836 | 841 | | |
837 | 842 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
241 | 243 | | |
242 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
243 | 248 | | |
244 | 249 | | |
245 | 250 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
0 commit comments