mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
CI: Increase ccache size limit for serenity builds
Now that we only have 3 ccached builds on CI we can comfortably increase the ccache size limit to get some free speed-up in CI.
This commit is contained in:
parent
f91974677c
commit
d5ce24627e
1 changed files with 5 additions and 5 deletions
10
.github/workflows/cmake.yml
vendored
10
.github/workflows/cmake.yml
vendored
|
@ -109,12 +109,12 @@ jobs:
|
||||||
- name: Show ccache stats before build and configure
|
- name: Show ccache stats before build and configure
|
||||||
run: |
|
run: |
|
||||||
# We only have 5 GiB of cache available *in total*. Beyond that, GitHub deletes caches.
|
# We only have 5 GiB of cache available *in total*. Beyond that, GitHub deletes caches.
|
||||||
# Currently, we use about 130 MB for the two toolchains (i686 & x86_64), and four ccache caches:
|
# Currently, we use about 130 MB for the two toolchains (i686 & x86_64), and three ccache caches:
|
||||||
# Two with ALL_DEBUG (i686 & x86_64) and two with NORMAL_DEBUG (i686 & x86_64).
|
# One with ALL_DEBUG (i686) and two with NORMAL_DEBUG (i686 & x86_64).
|
||||||
# Therefore, using 1.25 GB or more per cache causes disaster.
|
# Therefore, using 1.6 GB or more per cache causes disaster.
|
||||||
# Building from scratch fills the ccache cache from 0 to about 0.7 GB, and after compression it comes out to
|
# Building from scratch fills the ccache cache from 0 to about 0.7 GB, and after compression it comes out to
|
||||||
# about 0.25 GB, so 1.5 GB (0.5GB after compression) should be plenty, all while comfortly fitting in the cache.
|
# about 0.25 GB, so 3 GB (1GB after compression) should be plenty, all while comfortably fitting in the cache.
|
||||||
ccache -M 1500M
|
ccache -M 3000M
|
||||||
ccache -s
|
ccache -s
|
||||||
- name: Create build directory
|
- name: Create build directory
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue