support Ubuntu arm64 runners with sccache variant #280
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
Enable the
sccache
variant ofccache-action
to run on GitHub Ubuntu arm64 runners.Background
GitHub now supports a public preview of Ubuntu on arm64 runners, announced last week. The new runners can be used by anyone on any public repo.
The current implementation of
cccache-action
unconditionally downloads the Linux x86_64sccache
package when using thesccache
variant. This package is incompatible with the arm runners.NOTE: The
ccache
variant already works correctly on the arm runners because it installsccache
via the system's package manager.Validation
Updated test workflow to run tests on
ubuntu-24.04-arm
and verify they pass here.