Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

ci(editor): the authoring job's disk, with margin and an account of it

yhhe9423e89c198
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 36dddf52f..0cad57ee5 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -372,6 +372,14 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet /usr/share/swift /opt/ghc /usr/local/.ghcup \
/opt/hostedtoolcache/CodeQL || true
+ # Four more trees and the image cache, none of them on a path this job
+ # takes. It has run out of disk three times in seven runs and passed the
+ # other four, so it is not leaking without bound — it sits on the line,
+ # and this is the margin. Android stays: the packaging steps below are
+ # the one thing here that could want it.
+ sudo rm -rf /usr/share/miniconda /usr/local/share/powershell /opt/az || true
+ sudo rm -rf /usr/local/share/boost || true
+ sudo docker image prune -af || true
df -h /
# The editor is private; without its key this job fails here rather than
@@ -390,6 +398,15 @@ jobs:
ELECTRON_DISABLE_SANDBOX: '1'
run: xvfb-run -a --server-args="-screen 0 1920x1080x24" node scripts/editor-checks/run.mjs
+ # Between the two heavy steps, so the disk each one costs is attributable.
+ # The report at the bottom cannot do that, and it is the report that dies
+ # with the runner: a full disk takes the log that would name what filled it,
+ # which is why three failures here have said nothing. This lands on a PASSING
+ # run too, so the next run answers it either way.
+ - name: How much is left, after the authoring checks
+ if: always()
+ run: df -h /
+
# The pixel gates whose subject is an editor door — the reference grid, hit
# testing, the editor eye, preview renders. They cannot run on the engine's
# host, which deliberately has none of those.