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.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
chore(ci): the six editor checks that cost minutes each on a runner with no GPU run nightly, in two shards, instead of on every push
yhh8c23ce90ed2b
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.ymlindex ca55330eb..929fccbaa 100644--- a/.github/workflows/nightly.yml+++ b/.github/workflows/nightly.yml@@ -308,6 +308,65 @@ jobs:if-no-files-found: ignoreretention-days: 7+ # The editor checks marked `nightly` (scripts/editor-checks): each takes minutes on a runner with no GPU (model-detail alone 20 to 30) and a+ # second or so of real work on one that has it, so on every push they were most of the editor shards' time and, timing out, a red that said+ # nothing about the commit. They are answered here, once a day and against a release tag, with the budget they need.+ editor-heavy:+ name: Editor checks too heavy for a push (${{ matrix.shard }}/2)+ runs-on: ubuntu-latest+ needs: build-emscripten+ if: always() && needs.build-emscripten.result == 'success'+ strategy:+ fail-fast: false+ matrix:+ shard: [1, 2]+ env:+ ESTELLA_WIN_W: '1480'+ ESTELLA_WIN_H: '920'+ timeout-minutes: 120++ steps:+ - uses: actions/checkout@v7++ - uses: ./.github/actions/engine-submodules++ - name: Make room+ run: |+ sudo rm -rf /usr/share/dotnet /usr/share/swift /opt/ghc /usr/local/.ghcup /opt/hostedtoolcache/CodeQL \+ /usr/share/miniconda /usr/local/share/powershell /opt/az /usr/local/share/boost || true+ df -h /++ - uses: ./.github/actions/editor-checkout+ with:+ ssh-key: ${{ secrets.EDITOR_SSH_KEY }}++ - uses: ./.github/actions/setup++ - uses: ./.github/actions/editor-host++ - name: Fetch the commit the hand checks take their rigged character from+ run: git fetch --depth=1 origin 73ebaae9d2eb8ced17cd106ef01dd716bec3d6b6++ # Exit 2 is "this machine cannot answer" (a play realm that never said hello), as in the push job; exit 1 fails.+ - name: Run the nightly editor checks+ working-directory: desktop+ env:+ ESTELLA_MCP_EDITOR_VISIBLE: '1'+ OUT: '${{ github.workspace }}/output/editor-heavy-${{ matrix.shard }}'+ ELECTRON_DISABLE_SANDBOX: '1'+ run: |+ mkdir -p "$OUT"+ xvfb-run -a --server-args="-screen 0 1920x1080x24" node scripts/editor-checks/run.mjs --nightly --shard ${{ matrix.shard }}/2 || [ $? -eq 2 ]++ - name: Keep the captures+ if: always()+ uses: actions/upload-artifact@v7+ with:+ name: editor-heavy-${{ matrix.shard }}+ path: output/editor-heavy-${{ matrix.shard }}/+ if-no-files-found: warn+ retention-days: 7+# every-pixel-gate-runs, whose second half needs a GPU: a Linux runner ships no# graphics driver and every webgpu run there died in requestDevice. The# criterion says so itself, in its `why`.@@ -406,7 +465,7 @@ jobs:# is red, and closed when one comes back green.report:name: Say how the night went- needs: [build-emscripten, linux-template, linux, macos, android]+ needs: [build-emscripten, linux-template, linux, editor-heavy, macos, android]if: ${{ always() && github.event_name == 'schedule' }}runs-on: ubuntu-latestpermissions:diff --git a/desktop b/desktopindex 6293d5bbd..9f859635a 160000--- a/desktop+++ b/desktop@@ -1 +1 @@-Subproject commit 6293d5bbd787e5c3aae0b1b99cf18df923e0c3d4+Subproject commit 9f859635a6e8f9bc167940969aaeb57ed3123ce8