]> granicus.if.org Git - graphviz/commit
enable persistent Chocolatey cache in Windows CI jobs
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 2 Nov 2021 00:06:14 +0000 (17:06 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 8 Nov 2021 00:08:23 +0000 (16:08 -0800)
commitcd5b08d686350ac074cee0f86a33659b5d2e7345
treed127e13f79bfc8f4f60c6087ee2bd0f143a85c61
parent2388a95a22a6e2e773212163967f39fa10f3047e
enable persistent Chocolatey cache in Windows CI jobs

The intention of this change is to accelerate Windows CI jobs, currently one of
the limiting factors on our CI throughput. This change takes a conservative
approach, giving each relevant job its own cache. In theory these jobs could all
share a cache, but the Gitlab docs¹ imply this is only safe if only a single job
has a `push` policy. To do this effectively, we would probably have to create a
new preliminary CI job that only built the cache. Then all other jobs would
become `pull` consumers of this cache. Perhaps an improvement to make in future.

Closes #2143.

¹ https://docs.gitlab.com/ee/ci/yaml/index.html#cachepolicy
.gitlab-ci.yml