crow-plugins/sccache
1
0
Fork
You've already forked sccache
0
Crow plugin for sccache
Shell 55.4%
Dockerfile 37.7%
Just 6.9%
2026年01月06日 23:31:30 +01:00
.crow ci: add codefloe credentials 2026年01月06日 23:31:30 +01:00
.gitsv chore: add linters and CI 2025年09月05日 17:06:12 +02:00
.editorconfig chore: add linters and CI 2025年09月05日 17:06:12 +02:00
.editorconfig-checker.json chore: add linters and CI 2025年09月05日 17:06:12 +02:00
.gitignore chore: add linters and CI 2025年09月05日 17:06:12 +02:00
.hadolint.yaml chore: add linters and CI 2025年09月05日 17:06:12 +02:00
.markdownlint.yaml chore: add linters and CI 2025年09月05日 17:06:12 +02:00
.pre-commit-config.yaml chore(deps): update pre-commit hook davidanson/markdownlint-cli2 to v0.20.0 2025年12月08日 00:44:03 +00:00
.prettierignore chore: add linters and CI 2025年09月05日 17:06:12 +02:00
.yamllint.yaml chore: add linters and CI 2025年09月05日 17:06:12 +02:00
Containerfile chore(deps): update reg.devxy.io/docker.io/library/alpine docker tag to v3.23 2025年12月05日 00:43:43 +00:00
entrypoint.sh chore: use ./ for local dir refs 2025年09月05日 16:36:40 +02:00
Justfile chore: add justfile 2025年09月05日 14:23:17 +02:00
LICENSE initial commit 2025年05月26日 10:48:59 +02:00
README.md docs: fix settings prefixes 2025年09月05日 18:08:16 +02:00
renovate.json chore: add linters and CI 2025年09月05日 17:06:12 +02:00

Table of Contents

Sccache


status-badge Latest release License: Apache-2.0


Crow CI plugin to load and store compiler artifacts via sccache.

Originally forked from seed.rhizoma.dev/plugin-sccache.

Documentation

Features

  • Stores compiler cache (after initial creation) in local or remote storages
  • Effective way to reduce compile times for Rust, Clang and CUDA builds

The plugin bundles its own sccache binary and copies it to the current working directory at .sccache-cache/sccache. If existing files are found within a remote cache storage (e.g. S3), it will download these and use them during future compilations. The existing cache will be uploaded to the remote storage after the build is finished.

Tip

sccache scales with the number of cores due to parallelism. The more cores are available, the faster the speedup will be.

Settings

Settings Name Default Description
log_level info Logging verbosity level
s3_access_key none S3 access key ID
s3_bucket none S3 bucket name for remote cache storage
s3_enable_virtual_host false Enable virtual-hosted-style S3 URLs
s3_endpoint none S3 endpoint URL
s3_prefix sccache S3 key prefix for cache objects
s3_region auto S3 region
s3_save_if true Save cache after build
s3_secret_key none S3 secret access key
s3_server_side_encryption false Enable S3 server-side encryption
s3_use_ssl true Use SSL for S3 connections

Examples

steps:- name:sccacheimage:codeberg.org/crow-plugins/sccachesettings:bucket:my-build-cacheendpoint:https://my-s3-endpoint.comregion:<region>s3_access_key:from_secret:s3_access_keys3_secret_key:from_secret:s3_secret_key- name:Build Rust projectdepends_on:sccachecommands:# add sccache binary to path- export PATH=".sccache-cache:$PATH"- . ./.sccache# buildcargo build --release# show stats- sccache --show-stats