mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-07 18:43:26 -08:00
* [CI] Build the Windows and macOS legs without debug information Debug information is most of what a compiler cache stores: one Linux configuration measures 1.2 GB with full DWARF and 660 MB at -g1. The Windows leg cannot be lowered that way, because MSVC has no -g level and /Z7 is the only cacheable form, so it sits at full debug info and fills a 1.2 GB cache. Teach COCKATRICE_DEBUG_INFO_LEVEL=0 to mean something on MSVC by leaving /Z7 out, and build the vcpkg legs (Windows and macOS) at level 0 for every non-tag ref. A tag is the build that ships and is symbolicated, so it keeps the full set. The Linux legs keep -g1: a sanitizer report without file and line is not worth the quota it would save. Report the ccache directory and the object total at the end of each leg, so the working set a bound has to fit is a number in the log rather than an estimate. * [CI] Size the Windows cache for the no-debug footprint Measured on run 42377451921, one Windows configuration without /Z7 writes a 890 MB ccache directory, against 1.2 GB with it. A 950M bound holds that with 5.4% headroom, which is the same rule the Linux bounds follow. The comment block that splits the quota follows: 4.25 GB of bounds, 3.9 GB of stored compiler cache, 8.1 GB of 10 in total. |
||
|---|---|---|
| .. | ||
| codeql.yml | ||
| desktop-build.yml | ||
| desktop-lint.yml | ||
| docker-release.yml | ||
| documentation-build.yml | ||
| translations-pull.yml | ||
| translations-push.yml | ||
| vcpkg-cache-import.yml | ||