Skip to content

Conversation

crawfxrd
Copy link
Member

@crawfxrd crawfxrd commented Mar 11, 2025

  • Only checkout the coreboot submodule for building the toolchain
  • Don't restore the cache when checking if we need to build the toolchain

Reduces toolchain job time from ~2.5m to ~20s (when it doesn't need to be rebuilt).

Signed-off-by: Tim Crawford <tcrawford@system76.com>
@crawfxrd crawfxrd requested review from a team March 11, 2025 21:14
leviport
leviport previously approved these changes Mar 11, 2025
Signed-off-by: Tim Crawford <tcrawford@system76.com>
@crawfxrd crawfxrd changed the title ci: Set lookup-only when checking toolchain exists ci: Speed up toolchain job Mar 12, 2025
@crawfxrd crawfxrd requested a review from leviport March 12, 2025 16:02
@crawfxrd
Copy link
Member Author

Only the coreboot submodule is required for checking/building the toolchain, so disabling submodules in actions/checkout and then manually checking out just coreboot saves 2 minutes.

@jackpot51 jackpot51 merged commit 873e2f0 into system76:master Mar 12, 2025
49 checks passed
@crawfxrd crawfxrd deleted the dev/toolchain-exists branch March 12, 2025 16:48
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.

3 participants