Skip to content

Implement ccache in CI #4

@ViliusSutkus89

Description

@ViliusSutkus89

Currently we do have ccache installed in CI, but I've noticed it is not being used
image

If we split have different ccaches for each package/version/min SDK, all the ccache will definitely not fit inside the allowed GitHub actions cache size.

I suggest we do another manually dispatched workflow - ccache-writer, which iterates over every package, every version and builds for every ABI and every min SDK. This way there's only one cache and all the regular builds are just only readers. Different package versions usually share a lot of the same code. Different min SDK uses different compiler wrapper, but it's worth trying.

ccache-writer could only be implemented once ccache is enabled for our builds. Haven't spent the time to figure out how to yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions