fix(ci): free disk space before building debug androidTest APKs

The scheduled 'Run balances tests' workflow has been failing for weeks
with 'No space left on device' — assembleDebug + assembleDebugAndroidTest
for every module exceeds the ~14 GB free on GitHub-hosted runners.

Add an opt-in free-disk-space input to the reusable build workflow that
removes preinstalled toolchains we never use (dotnet, ghc, CodeQL, swift,
boost, etc., ~30+ GB), and enable it for the balances test build. Other
callers of the reusable workflow are unaffected.
This commit is contained in:
2026-06-10 14:59:11 -07:00
parent 5245f86678
commit f1eb14d214
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ jobs:
upload-name: develop-apk
run-tests: false
build-debug-tests: true
free-disk-space: true
secrets: inherit
run-tests: