Skip to content

ci: cache toolchain#66

Merged
d4ilyrun merged 2 commits intomasterfrom
xxx-ci-cache-toolchain
Mar 10, 2026
Merged

ci: cache toolchain#66
d4ilyrun merged 2 commits intomasterfrom
xxx-ci-cache-toolchain

Conversation

@d4ilyrun
Copy link
Owner

No description provided.

@d4ilyrun d4ilyrun force-pushed the xxx-ci-cache-toolchain branch 30 times, most recently from 5e56d58 to 9d5d0f7 Compare March 10, 2026 13:54
@d4ilyrun d4ilyrun force-pushed the xxx-ci-cache-toolchain branch 15 times, most recently from 1c139cc to fae4759 Compare March 10, 2026 15:10
Buliding our custom GCC target takes a lot of time (~ 15min each run).
Cache the output binary and reuse it as long as the toolchain/gcc
and toolchain/binutils directory did not change.

Do the same for libc.

This reduces the total CI duration from 15min to 1m13s. It will also
be possible to re-use our toolchain to test user applications cleanly.
Using nix causes issues with libraries when building newlib using
a cached toolchain (classic nix behaviour ...). Stop using nix for
this task and install the few required packages manually instead.
@d4ilyrun d4ilyrun force-pushed the xxx-ci-cache-toolchain branch from fae4759 to f79fc99 Compare March 10, 2026 15:11
@d4ilyrun d4ilyrun merged commit 32dcdca into master Mar 10, 2026
15 checks passed
@d4ilyrun d4ilyrun deleted the xxx-ci-cache-toolchain branch March 10, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant