Skip to content

Variable cache compression level #2187

@nyanrus

Description

@nyanrus

Thank you for good project!

It will be good if I can change the compression level with Environment Variable.
Currently, the cache level seems constant 3, default level.
https://github.com/mozilla/sccache/blob/main/src%2Fcache%2Fcache.rs#L293-L293

I am using sccache in GitHub Actions to make cache for building a firefox fork.
And the GitHub Actions Cache is only 10GB.
So the higher compression level is preferred because of lacking cache storage size.

Thank you for reading this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions