Linux 可复制模板(P4-64)
本目录为 Linux GCC/Clang 的构建+测试模板,不随仓库 CI 自动触发(docs/ 不参与 workflow discovery)。
文件
build-test.yml:GitHub Actions(ubuntu-24.04,Debug/Release 矩阵,Ninja + gcc + ccache);debug-check.sh:本地等价脚本(调用tools/vde_debug_check.py)。
本地复现
# 一条命令:Debug 配置+构建+按 slow/fuzz/perf 分批
python3 tools/vde_debug_check.py --build-dir build-fb-debugcheck --jobs 8
# 全量 Debug
python3 tools/vde_debug_check.py --full --build-dir build-fb-debugcheck --jobs 8
# Release 全量回归
python3 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;Release 默认 600s(fuzz 900s); - 模板只是参考,启用前需按 runner 调整依赖(Eigen/CMake/Ninja/可选 clang)。