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

+4 -4
View File
@@ -61,16 +61,16 @@ jobs:
./target/debug/marqdo benchmark run .
./target/debug/marqdo tool remove benchmark
./examples/plugin-demo/build.sh
./target/debug/marqdo plugin inspect examples/plugin-demo
./target/debug/marqdo plugin inspect examples/plugin-demo/build
./target/debug/marqdo run examples/plugin-demo/plugin-call.mq.md \
--plugin examples/plugin-demo \
--plugin examples/plugin-demo/build \
--trust-native-plugin \
--allow-plugin demo.solver
./examples/plugin-multi-export/build.sh
./target/debug/marqdo check examples/plugin-multi-export/plugin-call.mq.md \
--plugin examples/plugin-multi-export
--plugin examples/plugin-multi-export/build
./target/debug/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