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
ci: make repo web-only consistent — drop native build + editor steps
esengineea4cb1ffdfec
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 876190a71..e573f41a5 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -4,43 +4,6 @@ on:workflow_dispatch:jobs:- build-linux:- name: Linux (Ubuntu GCC)- runs-on: ubuntu-latest-- steps:- - uses: actions/checkout@v4- with:- submodules: recursive-- - name: Install dependencies- run: |- sudo apt-get update- sudo apt-get install -y \- cmake \- ninja-build \- libglfw3-dev \- libgl1-mesa-dev \- xorg-dev \- libxkbcommon-dev \- ccache-- - name: Setup ccache- uses: hendrikmuhs/[email protected]- with:- key: ${{ runner.os }}-build-linux- max-size: 500M-- - name: Configure CMake- run: cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DES_ENABLE_CCACHE=ON-- - name: Build- run: cmake --build build-- - name: Test- working-directory: build- run: ctest --output-on-failure-build-emscripten:name: Web (Emscripten)runs-on: ubuntu-latest@@ -95,7 +58,7 @@ jobs:run: node build-tools/cli.js build -t all --no-sync --continue-on-errortest:- name: Tests (SDK + Editor)+ name: Tests (SDK)runs-on: ubuntu-lateststeps:@@ -120,14 +83,8 @@ jobs:- name: Build SDKrun: pnpm --filter ./sdk build- - name: Type-check Editor- run: pnpm exec tsc --noEmit -p editor/tsconfig.json-- name: Type-check Examplesrun: node build-tools/cli.js check-examples- name: Run SDK testsrun: pnpm --filter ./sdk exec vitest run-- - name: Run Editor tests- run: pnpm --filter ./editor exec vitest rundiff --git a/CMakeLists.txt b/CMakeLists.txtindex ac0a036cf..ea76a133d 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -231,19 +231,15 @@ if(ES_BUILD_WEB OR ES_BUILD_WXGAME)src/esengine/platform/web/WebFileSystem.cpp)else()+ # Web-only repo: the native platform layer (NativePlatform/NativeFileSystem/+ # FileDialog) was removed in d9a08d87. Keep only the platform-agnostic+ # sources a native tooling/test build still needs.list(APPEND ESENGINE_SOURCES- src/esengine/platform/native/NativePlatform.cpp- src/esengine/platform/native/NativeFileSystem.cpp- src/esengine/platform/FileDialog.cppsrc/esengine/renderer/stb_image_impl.cppsrc/esengine/resource/LoaderJobQueue.cppsrc/esengine/resource/HotReloadManager.cppsrc/esengine/resource/loaders/ShaderLoader.cpp)- list(APPEND ESENGINE_HEADERS- src/esengine/platform/native/NativePlatform.hpp- src/esengine/platform/FileDialog.hpp- )endif()# =============================================================================