feat: 工程深化 — CI 守门 + FileCopier 测试 + ASan/UBSan + clang-tidy#3
Merged
Conversation
rename 同步(本仓已 GitHub rename 为 engineering_cpp): - README 标题 + clone 命令改 engineering_cpp 工程深化(hub 教工程,自己该名副其实): - FileCopier 提成共享库 filecopier_lib + 补 Catch2 测试 (正常拷贝 / 大文件分块 / 空文件 / 源不存在) - HUB_SANITIZE option(ASan+UBSan),本地验证无 leak/UB - CI(.github/workflows/ci.yml):gcc-13/gcc-14 双版本 × Release/ASan 矩阵 + clang-tidy job(report only,不阻塞) - .clang-tidy 基础配置(bugprone/modernize/performance/readability, 排除教学仓噪音大的检查) 验证: - 默认 build + ctest:3/3(argparser/dirscanner/filecopier)全绿 - HUB_SANITIZE=ON build + ctest:3/3 全绿(ASan/UBSan 干净)
CI 矩阵去掉 gcc-13(<print> 需 gcc-14+),留 gcc-14 Release + ASan/UBSan。 README 环境诚实化:GCC 13+→14+ / Clang 16+→18+ / MSVC 193+→19.34+ (demo.cpp 用 std::println 教 C++23 <print>,保留现代写法)。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rename 同步(本仓已 GitHub rename 为 engineering_cpp):
工程深化(hub 教工程,自己该名副其实):
验证: