Free up disk space on Linux runner#271
Conversation
|
pybind11 started hitting the same errors as CPython 2 weeks ago: pybind/pybind11#5914. |
|
I copied this script from the cibuildwheel CI, which removes all NDK versions except the one it uses. But Briefcase doesn't use the NDK at all anymore, so I've changed it to remove all versions. |
freakboy3742
left a comment
There was a problem hiding this comment.
This unblocks the immediate problem, but I don't love this. While we might not need the NDK (or node, chromium, CodeQL) right now, this seems like the sort of thing that might bite us in the future when we suddenly do need one of these tools, and the GitHub docs say they should be available, and we forget that our CI deletes them.
If it's disk space that is the issue. I wonder if doing a more aggressive cleanup after each individual build might be a better way to go (i.e., build the system app, then delete the build/dist folders; build the flatpak app, then delete the folders and purge the flatpak archive etc).
I'll merge this as an immediate fix; but I'll have a poke around to see if I can make a "cleanup" approach work.
Should fix this failure: https://github.com/beeware/briefcase/actions/runs/19875943952/job/56963552104
Android emulator failures started happening around the same time in the CPython repository, e.g. this run. The error message is completely different, but emulator error reporting has always been poor, so it's possible it has the same cause.
Toga appears unaffected so far.
PR Checklist: