summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-10-09 20:07:36 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-10-16 16:15:42 +0200
commit9b0a5d8b4677e6e10d7fb7f96ba469738add47e9 (patch)
tree22a27c94904f6a72e25cf82662aa42c86b0cf140 /SConstruct
parent1769730ef0344fe1011681a207a0c68383b6d5f6 (diff)
downloadgodot-webrtc-native-9b0a5d8b4677e6e10d7fb7f96ba469738add47e9.tar.gz
godot-webrtc-native-9b0a5d8b4677e6e10d7fb7f96ba469738add47e9.tar.bz2
godot-webrtc-native-9b0a5d8b4677e6e10d7fb7f96ba469738add47e9.zip
[CI] Update actions, add cache for faster builds.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 5 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 66c6177..c10c492 100644
--- a/SConstruct
+++ b/SConstruct
@@ -28,6 +28,11 @@ if env["godot_version"] == "3":
env = SConscript("godot-cpp-3.x/SConstruct")
+ scons_cache_path = os.environ.get("SCONS_CACHE")
+ if scons_cache_path is not None:
+ CacheDir(scons_cache_path)
+ Decider("MD5")
+
# Patch base env
replace_flags(env["CCFLAGS"], {
"-mios-simulator-version-min=10.0": "-mios-simulator-version-min=11.0",