Skip to content

ci: Speed up toolchain job #605

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 12, 2025
Merged

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).

@crawfxrd crawfxrd requested review from a team March 11, 2025 21:14
leviport
leviport previously approved these changes Mar 11, 2025
@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