Commit Graph
6 Commits
Author SHA1 Message Date
xiaozhou233 4b1ca5a490 CI: check out submodules in the Linux build job
- ci: add submodules: recursive to the build-linux checkout; without it the
  ptrace-inject-cpp directory is empty and configure fails on add_subdirectory
2026-10-20 13:37:13 +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 19b1bfb88a CI: package and upload the release zip as a build artifact
- ci: after the integration tests, run script/package.cmake and upload dist/JuiceAgent_*.zip via actions/upload-artifact (14-day retention)
2026-10-16 13:02:02 +08:00
xiaozhou233 e6da1d6fff CI: statically link the runtime and bundle imported DLLs
- ci: build with -static-libgcc -static-libstdc++ (matching w64devkit, the local toolchain) so the DLLs do not depend on a libstdc++-6.dll that could be shadowed by an incompatible one on the runner

- ci: bundle only the non-system DLLs actually imported, taken from the compiler that built them, and print the import list for diagnosis
2026-10-16 12:43:20 +08:00
xiaozhou233 08fe3a8815 CI: bundle MinGW runtime DLLs and print test output on failure
- ci: copy libstdc++-6/libgcc_s_seh-1/libwinpthread-1 next to the built binaries so the tests can load libagent.dll; without them every test failed with a load error on the runner

- tests: run-tests.ps1 now prints a failing test's captured output, so a failure is diagnosable even though the test program exits 0
2026-10-16 12:38:05 +08:00
xiaozhou233 9aebf29bb5 CI: add Windows workflow and a reusable integration-test runner
- ci: build with MinGW-w64 (MSYS2) + Ninja on windows-latest and run the integration tests

- tests: add run-tests.ps1, which compiles the modules, refreshes tests/resources, then runs every test and asserts on its output (the tests exit 0 even on failure, so exit codes are not enough)
2026-10-16 12:29:31 +08:00