Skip to content

ci: consider caching 'installRustToolchain' in Gradle remote build cache #160

Description

@jjohannes

Problem

The installRustToolchain – introduced in #159 – is installing all tooling required for Rust (cross-)compilation. This Gradle task is designed to be cacheable, but caching is turned off on CI for the moment.

Solution

When we tested turning on the remote caching for the task, it always failed with:

Could not load entry ... from remote build cache: Read timed out

This most likely needs to be addressed in the setup of the remote build cache node.

If we get it working, the question is still if we want to do this.

Disadvantage:

  • quite large cache entry

Advantage:

  • Speed up CI builds that currently take ~3 min to install the tools
  • Taking the tools from our cache, instead of downloading from different places that may be slow/unreachable sometimes

Alternatives

No response

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