ci: set CCACHE_SIZE to 400M for Gitlab #5547
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue being fixed or feature implemented
Make CI builds faster.
We have this https://github.com/dashpay/dash/blob/develop/ci/dash/build_src.sh#L18 but by that time
CCACHE_SIZE
is set to 100M via https://github.com/dashpay/dash/blob/develop/ci/test/00_setup_env.sh#L51 already.What was done?
set
CCACHE_SIZE
variable in.gitlab-ci.yml
, drop confusing and useless lines fromci/dash/build_src.sh
(CCACHE_SIZE
andCCACHE_COMPRESS
defaults are handled byci/test/00_setup_env.sh
)How Has This Been Tested?
I set
CCACHE_SIZE
to 400M yesterday via Gitlab UI to test it.results:
before, trivial doc change, 100M: https://gitlab.com/dashpay/dash/-/jobs/4931233566#L59 (~17 minutes)
after, trivial code change, 400M: https://gitlab.com/dashpay/dash/-/jobs/4935764148#L80 (~12 minutes)
Removed it from Gitlab UI now but it should still say
Set cache size limit to 400.0 MB
in logs for this PR.Breaking Changes
n/a
Checklist: