diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e784dc57a3..23881001fe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,6 +69,10 @@ workflow: # If running on any branch other than main. build: stage: build + cache: + key: "${CI_COMMIT_REF_SLUG}" + paths: + - "${CI_DIR}/scons_cache" before_script: - find $BUILD_DIR/ -mindepth 1 -delete - *default_before_script