mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-25 22:23:42 +08:00
The setup.sh script was always trying to generate compile_commands.json for IDE integration, which triggered SCons platform auto-detection. On Ubuntu runners without X11 libraries (used for Android/Web builds), this caused the build to fail. Changes: - Only generate compile_commands.json in dev mode (CI uses dev=false) - Explicitly specify the platform parameter for SCons - On Linux, check if X11 libraries are available before attempting generation - Skip generation gracefully if X11 is not available This fixes the Android and Web template builds in GitHub Actions.