fix(ci): build native plugin fixtures for the host target

The macOS job failed with no_matching_artifact because the integration test
copied the Linux-only example manifest and built a Linux-named .so. Tests now
generate a manifest for the actual host triple, use the platform dynamic
library name and compiler flags, and never rewrite the tracked example
manifest.

- add a cross-platform no_matching_artifact test that runs without a C compiler
- add real tamper and ABI-major-mismatch rejection tests
- make worker fixtures platform-native; Windows remains explicitly unsupported
  (no cc) rather than counted as a pass
- example build scripts emit host-specific build/ fixtures (gitignored)
- CI smoke points at the generated fixtures
This commit is contained in:
cflmy committed 2026-11-20 13:54:18 +08:00
1 parent c7f3a8422c
commit 53cdea2325
7 files changed
+285 -85

No files matched your search

+3 -3
View File
@@ -4,11 +4,11 @@ One native library exports two complete names: `solver.add` and `solver.neg`.
Both are registered and callable; there is no "first prefix wins" namespace.
```sh
./examples/plugin-multi-export/build.sh
./examples/plugin-multi-export/build.sh # writes build/ for this host
marqdo check examples/plugin-multi-export/plugin-call.mq.md \
--plugin examples/plugin-multi-export
--plugin examples/plugin-multi-export/build
marqdo run examples/plugin-multi-export/plugin-call.mq.md \
--plugin examples/plugin-multi-export \
--plugin examples/plugin-multi-export/build \
--trust-native-plugin --allow-plugin demo.solver
```