Skip to content

ci: make repo web-only consistent (drop native build + editor steps)#43

Merged
esengine merged 2 commits into
masterfrom
fix/web-only-ci
Jun 18, 2026
Merged

ci: make repo web-only consistent (drop native build + editor steps)#43
esengine merged 2 commits into
masterfrom
fix/web-only-ci

Conversation

@esengine

@esengine esengine commented Jun 18, 2026

Copy link
Copy Markdown
Owner

Why

This repo's CI (build.yml, manual-dispatch only — no PR gating) had accumulated several unrelated pre-existing failures from the monorepo split + API evolution. This PR makes master green again.

What

Web-only consistency (d9a08d87 deliberately removed desktop/, editor/, and the native platform stubs):

  • build.yml: drop the Linux (Ubuntu GCC) native job (its cmake configure died on the deleted platform/native/* sources); remove the Type-check Editor / Run Editor tests steps (no editor/ in this repo); rename the test job to Tests (SDK).
  • CMakeLists.txt: drop the deleted native-platform source/header refs from the non-web branch so a plain cmake configure no longer errors.

Web build fix:

Stale examples aligned to current SDK:

  • audio-demo: events.hasEvent(e,'click')events.query('click').some(e => e.target === entity).
  • ui-interaction: UIEvent.entityUIEvent.target.
  • ui-controls: drop the obsolete ProgressBar-component animation — the SDK no longer exposes a queryable ProgressBar component (progress is now the createProgress widget). Scene-defined controls are unaffected.

Verification

Locally: SDK typecheck OK, check-examples 18/18 pass. CI (build.yml) is now Web (Emscripten) + Tests (SDK), both green.

esengine added 2 commits June 18, 2026 02:01
The native platform layer (NativePlatform/NativeFileSystem/FileDialog) and the
editor/ workspace were deliberately removed in d9a08d8, but build.yml still ran
a Linux native job (whose cmake configure died on the missing platform sources)
and type-checked/tested a nonexistent editor/. Align CI and CMake with the
web-only reality:

- build.yml: drop the Linux (Ubuntu GCC) native job; remove the Type-check
  Editor and Run Editor tests steps; rename the test job to "Tests (SDK)".
- CMakeLists.txt: drop the deleted native-platform source/header refs from the
  non-web branch so a plain cmake configure no longer errors on missing files.

CI is now Web (Emscripten) + Tests (SDK).
Fold the two remaining master CI breakages into this web-only consistency PR so
master goes green:

- RenderFrameSubmit.cpp: widen submitSpineBatch's offset-index buffer u16 -> u32
  to match appendIndices(const u32*) (the spine path #41 missed) — fixes the web
  build compile error.
- examples: align 3 stale examples to the current SDK API:
  - audio-demo: events.hasEvent(e,'click') -> events.query('click').some(e=>e.target===entity)
  - ui-interaction: UIEvent.entity -> UIEvent.target
  - ui-controls: drop the obsolete ProgressBar-component animation (the SDK no
    longer exposes a queryable ProgressBar component; progress is now the
    createProgress widget). Scene-defined controls are unaffected.

Verified locally: SDK typecheck + check-examples (18/18) pass.
@esengine esengine merged commit 150958e into master Jun 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant