mirror of
https://github.com/scummvm/dockerized-bb.git
synced 2026-11-18 21:35:23 +00:00
MASTER: Setup ccache configuration
That ensures cache size is OK
This commit is contained in:
1 parent
1ad0f11b27
commit
ebed64a0ef
3 files changed
+8
-3
No files matched your search
+6
-2
@@ -1,4 +1,6 @@
|
||||
import os, sys
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
from buildbot.plugins import util
|
||||
from buildbot.plugins import changes
|
||||
@@ -19,7 +21,9 @@ lock_build = util.WorkerLock("worker", maxCount = 1)
|
||||
# bshomes is used for various build systems (like Gradle) to avoid downloading things at each run
|
||||
# pollers is used by poll modules to maintain their state
|
||||
for data_dir in ["builds", "ccache", "packages", "src", "triggers", "bshomes", "pollers" ]:
|
||||
os.makedirs(os.path.join(config.buildbot_data_dir, data_dir), exist_ok=True)
|
||||
os.makedirs(os.path.join(config.buildbot_data_dir, data_dir), exist_ok=True)
|
||||
shutil.copyfile(os.path.join(config.buildbot_base_dir, "ccache.conf"),
|
||||
os.path.join(config.buildbot_data_dir, "ccache", "ccache.conf"))
|
||||
|
||||
class Build:
|
||||
__slots__ = ['name']
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
max_size = 30.0G
|
||||
compression = true
|
||||
@@ -20,7 +20,6 @@ pb_protocol_port = 9989
|
||||
# Environment shared by all builds and builders
|
||||
common_env = {
|
||||
"LC_ALL": "C.UTF-8",
|
||||
"CCACHE_COMPRESS": "1",
|
||||
}
|
||||
|
||||
# List of platforms enabled
|
||||
|
||||
Reference in new issue
Block a user