188 Commits

Author SHA1 Message Date
Mario Zechner
d101de294d Use Flutter SDK instead of standalone Dart to resolve packages
The issue is that the Dart packages reference Flutter SDK, so we need
Flutter installed to properly resolve dependencies and avoid formatting
differences.
2025-08-28 14:37:24 +02:00
Mario Zechner
1c1ddebe7e Fix path for dart pub get - needs to run in spine-flutter directory 2025-08-28 14:32:21 +02:00
Mario Zechner
edebabe5a4 Simplify fix: use dart pub get to resolve packages before formatting
The issue was that dart format applies different rules when it can't resolve
analysis_options.yaml dependencies. Using dart pub get (instead of flutter pub get)
avoids needing to install Flutter SDK in CI.
2025-08-28 14:29:53 +02:00
Mario Zechner
6cfffdf52e Fix dart formatting issue by installing Flutter and resolving packages
The formatting discrepancy was caused by missing Flutter packages in CI.
When analysis_options.yaml references flutter_lints but packages aren't resolved,
dart format uses different formatting rules than when packages are available.
2025-08-28 14:27:18 +02:00
Mario Zechner
f2997e5c13 Add more debugging to understand dart format behavior 2025-08-28 14:25:01 +02:00
Mario Zechner
c95341ec2b Add debugging information to dart format check workflow 2025-08-28 14:21:35 +02:00
Mario Zechner
2789f62692 Run dart formatting check on macOS runner
Same Dart formatter version produces different results on macOS and Linux ...
2025-08-28 14:15:44 +02:00
Mario Zechner
75e7a77e4c Ensure correct clang-format version in CI 2025-08-28 14:06:15 +02:00
Mario Zechner
db98c15e9b [workflows] Fix upload-artifact version to v4 2025-07-31 21:34:22 +02:00
Mario Zechner
106c39d0af [workflows] Add diff artifact to dart format check for debugging 2025-07-31 21:32:13 +02:00
Mario Zechner
86f888b1fc [workflows] Fix dart format check workflow - use && instead of & 2025-07-31 21:28:31 +02:00
Mario Zechner
75420e196a Switch C++ compatibility workflow to Ubuntu 22.04
Ubuntu latest (24.04) shows memory corruption in binary parser
that doesn't reproduce locally. Try older Ubuntu version.
2025-07-26 01:44:17 +02:00
Mario Zechner
dd32f8888b [tests] Add diff output to C++ compatibility workflow
When C++ compatibility tests fail, show unified diffs between
Java and C++ output files for both JSON and SKEL formats:
- skeleton-data comparisons for both formats
- skeleton-state comparisons for both formats

This provides immediate visibility into compatibility issues
without requiring manual artifact download and comparison.
2025-07-26 01:35:18 +02:00
Mario Zechner
6573924a22 Disable fail-fast in C++ compatibility matrix
Allow both Ubuntu and macOS jobs to complete even if one fails
to collect artifacts and diffs from both platforms

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 00:02:03 +02:00
Mario Zechner
61473763a2 Add macOS support to C++ compatibility workflow
- Convert to matrix build with ubuntu-latest and macos-latest
- Add platform-specific dependency installation steps
- Separate artifact names by OS for easier debugging

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 23:55:29 +02:00
Mario Zechner
b2a277781a Remove combined formatting workflow
Use individual language-specific workflows instead

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 23:48:26 +02:00
Mario Zechner
bc9732f0a1 Split formatting workflow into separate language-specific workflows
- Add individual workflows for C++, C#, Dart, Haxe, Java, and TypeScript
- Each workflow runs independently for faster testing and debugging
- Rename original workflow to indicate it's the combined version

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 23:47:11 +02:00
Mario Zechner
88d6ccade2 Add debug workflow to investigate formatting differences 2025-07-25 23:40:03 +02:00
Mario Zechner
619c076da2 Add spine-c bindings check automation
- Add generate-all-bindings.sh script with logging support
- Add GitHub Action to check if spine-c bindings are up-to-date
- Update spine-flutter/generate-bindings.sh to use logging.sh
- Action only runs on branches >= 4.3 (including beta versions)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 23:31:07 +02:00
Mario Zechner
7af05f23a5 Add spine-libgdx build step for fat jar dependency
Fat jar task requires main spine-libgdx jar to exist first.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 03:32:35 +02:00
Mario Zechner
b171e10da6 Fix test runner to properly detect and build fat jar
- Look specifically for spine-headless-test-*.jar instead of any jar
- Ensures fat jar with all dependencies gets built and used
- Revert workflow to let test runner handle jar building

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 02:50:38 +02:00
Mario Zechner
f9b80e0db4 Fix C++ compatibility workflow: build fat jar with libgdx dependencies
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 02:48:54 +02:00
Mario Zechner
0639937993 Fix C++ compatibility workflow: build spine-libgdx first
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 02:45:55 +02:00
Mario Zechner
2f7111b0c5 Add C++ runtime compatibility test workflow
Verifies C++ runtime produces identical skeleton data output to Java reference implementation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 02:43:41 +02:00
Mario Zechner
5ae8019e09 Clean-up old format check workflow 2025-07-16 05:09:28 +02:00
Mario Zechner
205cae2373 Remove test workflows 2025-07-16 05:06:30 +02:00
Mario Zechner
aaaa3f8f35 Add setup script for Docker clang-format wrapper 2025-07-16 04:40:37 +02:00
Mario Zechner
c8421648b5 Use Docker wrapper for clang-format to avoid library issues 2025-07-16 04:39:37 +02:00
Mario Zechner
a1541dfe10 Install clang-format to /usr/bin for proper PATH precedence 2025-07-16 04:36:25 +02:00
Mario Zechner
a424597170 Fix libtinfo dependency for clang-format 2025-07-16 04:34:09 +02:00
Mario Zechner
ccb9a608b4 Use clang-format 18.1.8 binary to match local version 2025-07-16 04:31:55 +02:00
Mario Zechner
b035b12272 Simplify clang-format setup and fix npm warning 2025-07-16 04:30:46 +02:00
Mario Zechner
a0a86af560 Use LLVM apt repository for clang-format-18 2025-07-16 04:27:38 +02:00
Mario Zechner
bd3b8186b9 Fix Docker wrapper to handle relative paths 2025-07-16 04:18:27 +02:00
Mario Zechner
f24f500750 [formatters] Make Maven build quiet.
Test clang-format 18.1.8 installation

Fix libtinfo dependency for Ubuntu 24.04

Test clang-format via Docker

Use Docker for clang-format 18.1.8

Fix YAML syntax for Docker wrapper script

Use echo instead of heredoc for Docker wrapper

[formatters] Use Docker to get fixed clang-format version
2025-07-16 04:15:35 +02:00
Mario Zechner
9822fa2195 Use echo instead of heredoc for Docker wrapper 2025-07-16 03:47:41 +02:00
Mario Zechner
dfbb986e84 Fix YAML syntax for Docker wrapper script 2025-07-16 03:46:58 +02:00
Mario Zechner
98ac8553dd Use Docker for clang-format 18.1.8 2025-07-16 03:43:50 +02:00
Mario Zechner
8fb6d4c6ef Test clang-format via Docker 2025-07-16 03:41:15 +02:00
Mario Zechner
8a1893acad Fix libtinfo dependency for Ubuntu 24.04 2025-07-16 03:38:28 +02:00
Mario Zechner
484c63be70 Test clang-format 18.1.8 installation 2025-07-16 03:35:48 +02:00
Mario Zechner
33b760966f [formatters] Remove debug logs from GH workflow 2025-07-16 03:29:05 +02:00
Mario Zechner
440125252a [formatters] Try fixing Clang version in GH workflow 2025-07-16 03:09:36 +02:00
Mario Zechner
2c6f3a2944 [formatters] More GH workflow fixes 2025-07-16 02:38:54 +02:00
Mario Zechner
413fffc925 [formatters] Fix Dart version 2025-07-16 02:35:11 +02:00
Mario Zechner
ca45046ae3 [formatters] Use pushd/popd so formatters can be called from any directory 2025-07-16 01:51:21 +02:00
Mario Zechner
9ffe3579d7 [formatters] New GH workflow 2025-07-16 01:43:19 +02:00
Mario Zechner
c99cf65b32 [libgdx][android] Fix GH workflows 2025-05-28 21:26:28 +02:00
Mario Zechner
ebaf15d9de
Update pull_request_template.md 2025-05-13 16:44:19 +02:00
Mario Zechner
7df38b3390
Update pull_request_template.md 2025-05-13 16:37:47 +02:00