Skip to content

Build Cache

Avrea's build cache stores compilation artifacts in colocated cache so that rebuilds only recompile what actually changed. This works across jobs, branches, and workflow runs.

ToolMechanismAuto-configured
BazelHTTP remote cacheYes
ccacheHTTP remote storageYes
GoGOCACHEPROG (Go 1.24+)Yes
GradleHttpBuildCacheYes
MavenBuild cache extensionYes
NixBinary cache substituterYes
NxSelf-hosted remote cacheYes
sccacheWebDAV remote storageYes
TurborepoRemote cache APIYes
XcodeCompilation cache (macOS)Yes

On Avrea runners, build cache environment variables and configuration files are pre-configured before your workflow steps run. Each tool connects to the colocated build cache.

The cache.avrea.com hostname used in examples throughout this section resolves only inside Avrea runners — it points to the colocated cache via the runner's host file. The URLs are not reachable from a developer laptop.