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
fix(ci): the continuity gate and the effect-kind test follow the shared scaffold and the display stage
yhhf9035ae78563
diff --git a/sdk/tests/compute-effect.test.ts b/sdk/tests/compute-effect.test.tsindex f3c4ab8a6..efc2cd18e 100644--- a/sdk/tests/compute-effect.test.ts+++ b/sdk/tests/compute-effect.test.ts@@ -63,9 +63,9 @@ describe('compute effects', () => {expect(def!.compute!.source).toMatch(/struct Params \{ intensity : f32, limit : f32/);});- it('keeps every effect either a draw, a compute shader or a native pass, never none', () => {+ it('keeps every effect either a draw, a compute shader, a native pass or a stage of the last pass, never none', () => {for (const def of getAllEffectDefs()) {- const kinds = (def.factory ? 1 : 0) + (def.compute ? 1 : 0) + (def.native ? 1 : 0) + (def.multiPass ? 1 : 0);+ const kinds = (def.factory ? 1 : 0) + (def.compute ? 1 : 0) + (def.native ? 1 : 0) + (def.multiPass ? 1 : 0) + (def.stage ? 1 : 0);expect(kinds, `${def.type} must say how it runs`).toBeGreaterThanOrEqual(1);}});diff --git a/tools/check-workspace-continuity.mjs b/tools/check-workspace-continuity.mjsindex 2250d3bf7..6f2fef8a0 100644--- a/tools/check-workspace-continuity.mjs+++ b/tools/check-workspace-continuity.mjs@@ -20,7 +20,7 @@ const read = (rel) => readFileSync(path.join(ROOT, rel), 'utf8');const FORMAT = 'pipeline/src/project/format.ts';const CAPTURE = 'desktop/src/project/workspaceContinuity.ts';-const SCAFFOLD = 'desktop/electron/projectScaffold.ts';+const SCAFFOLD = 'pipeline/src/project/scaffold.ts';/*** Names that belong to a play session. A field or a capture reading one of them