Skip to content

[break] feat: build Engine SDK artifacts and simplify engine selection - #1057

Open
bofeng-song wants to merge 3 commits into
cocos:mainfrom
bofeng-song:feat/engine-sdk-packaging
Open

bofeng-song wants to merge 3 commits into
cocos:mainfrom
bofeng-song:feat/engine-sdk-packaging

Conversation

@bofeng-song

@bofeng-song bofeng-song commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

  • Build missing dev-cli output and cc-min before packing the Engine SDK. On Windows x64 and macOS, build the simulator executable and native-preview runtime as well. --skip-build keeps the snapshot-only flow and --skip-simulator skips that build step.
  • Include the Xcode helper and its runtime dependencies in the SDK. Keep the native external files from the selected engine version.
  • Keep optional engineSdk.path and engineSdk.version in project settings so each project can select its own SDK and check its exact version. Remove the project-level revision pin and keep the SDK manifest revision for artifact verification.

Validation

  • 132 workflow tests and 13 DTS tests passed. The generated project schema declares optional engineSdk.path and engineSdk.version.
  • Built a Windows x64 Engine SDK and loaded it in the CLI using the project's configured engine path and version. Verified the simulator executable, native preview, cc-min, and Xcode helper in the snapshot.
  • The macOS build path still needs a native run.

The Windows tool downloader now tries tar.exe first and falls back to PowerShell when extraction is empty or invalid. It validates the PVRTexTool executable before replacing the installed directory. Both paths were verified locally with the same ZIP that failed in Actions.

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