5 Commits
Author SHA1 Message Date
xiaozhou233 45da09ff5c Refactor: rework integration tests and add a Linux runner
- tests: add TestSupport with a single RESULT: PASS/FAIL verdict protocol
- tests: assert on native return values and captured output, not runner markers
- tests: replace the brittle "Bytes: 399" marker with a class-file magic check
- tests: read the shared case list from tests/cases.txt
- tests: add run-tests.sh and copy-bin.sh, run the tests on Linux too
- tests: exclude the Loop.java demo from the compiled test output
- CI: set up JDK 25 and run the integration tests in the build-linux job
- Docs: refresh the AGENTS.md test/CI sections and rule 5
2026-11-20 14:09:56 +08:00
xiaozhou233 d31e43af31 Refactor: Vendor ptrace-inject-cpp into includes
- ptrace-inject-cpp: remove the submodule, its .gitmodules entry and config section
- includes/ptrace-inject-cpp: add the injection library sources, public header and LICENSE
- includes/ptrace-inject-cpp: add CMakeLists defining the ptrace_inject static library
- cmake: build includes/ptrace-inject-cpp on non-Windows instead of the submodule
- docs: list the vendored library in the AGENTS.md layout
2026-10-24 23:02:50 +08:00
xiaozhou233 4b9d371357 CI: add a Linux build job
- ci: add build-linux on ubuntu-latest (GCC + Ninja): configure, build, package, no tests
- ci: upload dist/JuiceAgent_*.tar.gz as JuiceAgent-linux-x64 (14-day retention)
- docs: describe the Windows and Linux jobs in AGENTS.md
2026-10-19 13:35:22 +08:00
xiaozhou233 4bb0d6ecd1 Feat: add a Linux packaging script
- script: add package.sh, packing injector/libloader.so/libagent.so into dist/JuiceAgent_vX.Y.Z_x64_linux.tar.gz
- docs: record the Linux package output in AGENTS.md
2026-10-19 13:21:09 +08:00
xiaozhou233 3796cca9a1 Docs: add AGENTS.md [skip ci]
- document the build/test/release flow for agents working in this repo

- record the hard-won rules: libloader must stay exception-free (reflective loading breaks unwind), config reads are non-throwing, no MinGW runtime DLL deps, and tests must be asserted on output
2026-10-16 13:14:09 +08:00