chore: 工程工具 + CMake 修复
CI / Build & Test (push) Failing after 38s
CI / Release Build (push) Failing after 25s

- tools/build.sh: 一键编译(支持 Release/Debug/ASan)
- tools/run_tests.sh: 运行测试
- tools/release.sh: 发布打包
- tools/format.sh: 代码格式化
- tools/clean.sh: 清理构建产物
- 修复 CMakeLists.txt: vde_compile_options 顺序错误
- 修复 src/CMakeLists.txt: 移除重复配置行
This commit is contained in:
ViewDesignEngine
2026-07-23 07:51:23 +00:00
parent e276ce5a64
commit d7139c3fd6
7 changed files with 122 additions and 28 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
set -euo pipefail
BUILD_DIR="${BUILD_DIR:-build}"
if [ ! -d "$BUILD_DIR" ]; then
echo "Build directory not found. Run tools/build.sh first."
exit 1
fi
echo "=== ViewDesignEngine Tests ==="
cd "$BUILD_DIR"
ctest --output-on-failure -j"$(nproc)" "$@"