Repository navigation
Keep downloaded Ubuntu packages in the CI cache - #11667
Open
mikeysklar wants to merge 2 commits into
Open
mikeysklar wants to merge 2 commits into
mikeysklar wants to merge 2 commits into
Conversation
Makefile.static-mingw only uses x86_64-w64-mingw32-gcc. The mingw-w64 metapackage pulls in 25 packages (277 MB): both i686 and x86-64, both thread models, and g++. This package is about 60 MB and registers the same win32 compiler the job already ended up using. On days the Azure Ubuntu mirror is slow, the old install took 35-100 min. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Add a small action that keeps the downloaded .deb files in the Actions cache, so slow Ubuntu mirror days don't stall builds. It is used for the aarch64 and mingw toolchains, the Zephyr port deps, and the 32-bit SDL2 packages for native_sim. The Zephyr deps list also includes the packages action-zephyr-setup installs, so its own apt-get has nothing to download. The cache key is a hash of the .deb file names, so a package update makes a new entry. Only pushes save, like the other dependency caches, and autoclean keeps out versions the mirror no longer has. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This was referenced Oct 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
Keep the compiler and Zephyr packages in the Actions cache, so CI skips most downloads.
Why
Since Oct 22 a slow Ubuntu mirror has stalled CI jobs for 20 to 56 minutes.
This includes the commit from #11665 (mingw), so review only the second commit.
action-zephyr-setupinstalls.debfile namesaction-zephyr-setupapt stepCache hits only start after this merges, since only pushes save.
Written with Claude Code. I checked the Zephyr action's apt list and the job ordering.
🤖 Generated with Claude Code