### P4-01 插件 ABI 1.4 mesher 扩展点 - VDE_PLUGIN_ABI_MINOR 3→4;VdePluginKind MESHER=8;VdeMesherStatus/Options/Result/Plugin; VdePluginRegistration 尾追加 mesher 指针(48→56B,旧 1.3 按 struct_size 安全); - PluginManager kind/meshers()/invoke_mesher()/失败隔离/unload 清理;ABI 语义 manifest.minor<=query.minor<=host.minor; - sample_mesher(mock tet4);ABI 矩阵 1.0–1.4 accepted=5 + 2.0 rejected;--abi/--check 适配; - test_plugin_mesher 7 用例 + VDE_PluginToolMesherAbi CTest;docs plugin-development §15/plugin-distribution §12; ### P4-02 Python ctypes 回归 - 可选 CTest VDE_PythonCtypesSmoke(Python3 可选/vde_capi_shared/smoke_test_ctypes.py;无 Python 跳过); - VDE_BUILD_PYTHON=ON MinGW 原生 pybind 明确跳过(ctypes 保留);README/testing 文档更新(C API 61/绑定 60); ### P4-03 模块包 CI 矩阵 - cmake/check_module_packages.cmake:configure/build/install → 10 模块包 find_package + 仓库内 consumer 编译运行; - tests/module_packages/consumers/(10 个最小工程);CI module-packages job;本地 MODULE_PACKAGES_PASS pass=10 fail=0; ### P4-04 宿主复测/平台 CI 交接 + 多团队分发体系 - docs/reference/76-宿主复测与平台CI交接包(1.0.78).md;VDE-1251/1252 反馈单追加复测指引; - docs/design/multi-team-development.md(T1–T8/ownership/契约/流程)、docs/planning/work-packages.md(39 WP)、 docs/guides/team-onboarding.md、docs/design/plugin-ecosystem-handoff.md、.github/ISSUE_TEMPLATE/work-package.yml; - roadmap P4-01..05 交付;WP 状态 27 Delivered/0 In-Progress/12 Candidate; ### 工程 - 版本 1.0.79;与远端 f6e0ac97(plugin template SDK consumption/ecosystem plan)rebase 集成; - 全量构建 0 error(405 targets);全量 ctest 7569 注册、7474/7474 PASS(0 failed,25 skipped,238.13s)。
20 lines
750 B
C++
20 lines
750 B
C++
// P4 module-packages CI:vde-cam 消费者 smoke(刀具参数 + G-code 导出)
|
||
#include "vde_cam/cam_strategies.h"
|
||
#include "vde_cam/cam_toolpath.h"
|
||
#include <cstdio>
|
||
int main() {
|
||
vde::cam::Tool tool;
|
||
tool.name = "flat6";
|
||
tool.diameter = 6.0;
|
||
tool.flutes = 2;
|
||
const double rpm = tool.spindle_rpm(120.0);
|
||
const double feed = tool.feed_rate_mm_per_min(0.05);
|
||
vde::cam::Toolpath toolpath;
|
||
toolpath.name = "module-packages-ci";
|
||
const std::string gcode = vde::cam::export_gcode(toolpath);
|
||
const bool ok = rpm > 0.0 && feed > 0.0 && !gcode.empty();
|
||
std::printf("CAM_CONSUMER_%s rpm=%.1f feed=%.1f gcode_bytes=%zu\n",
|
||
ok ? "PASS" : "FAIL", rpm, feed, gcode.size());
|
||
return ok ? 0 : 1;
|
||
}
|