Files

MSVC 可复制模板(P4-64)

本目录为 Windows/MSVC 的构建+测试模板,不随仓库 CI 自动触发(docs/ 不参与 workflow discovery)。

文件

  • build-test.yml:GitHub Actions(windows-latest,Debug/Release 矩阵,Ninja + cl);
  • debug-check.ps1:本地等价脚本(调用 tools/vde_debug_check.py 或直接 cmake/ctest)。

本地复现

# 一条命令:Debug 配置+构建+按 slow/fuzz/perf 分批
python tools/vde_debug_check.py --build-dir build-fb-debugcheck --jobs 8

# 全量 Debug ctest
python tools/vde_debug_check.py --full --build-dir build-fb-debugcheck --jobs 8

# Release 全量(回归)
python tools/vde_debug_check.py --build-type Release --full --build-dir build-release-check --jobs 8

说明

  • 慢用例通过 CTest labels 分批:-L fuzz、-L perf、-L slow -LE 'fuzz|perf';
  • Debug 超时档见 tests/CMakeLists.txt(fuzz 1500s、其余 slow 900s、普通 900s);
  • 构建日志中的测试 warning 优先清理 tests/plugin、tests/mesh、tests/brep、tests/cae;
  • 模板只是参考,启用前需按 runner 的 VS/CMake/SDK 调整工具链。