[1111] 引入 doctest 2.4.11 源码并迁移 lolly CI#3804
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 将 doctest 2.4.11 单头文件源码放入 3rdparty/doctest - 在主 xmake.lua 定义本地 liii-doctest 包 - moebius/lolly 改用 liii-doctest 并移除版本约束 - 迁移 lolly CI 到顶层 .github/workflows,升级 runner 与 xmake 版本 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 使用 add_includedirs 同时暴露 include 与 include/doctest - on_install 直接复制整个 doctest 目录,与上游保持一致 - on_test 使用 check_cxxsnippets 进行编译运行测试 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 在 3rdparty/doctest.lua 中定义 liii-doctest 本地包 - 在 xmake.lua 中通过 includes 引入 - 文件头注明源自 xmake-io/xmake-repo,Apache-2.0 许可 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 增加 macOS CI 构建验证步骤 - 记录 QWKCore/QWKWidgets 中 $(buildir) 修复方案 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
在 on_load 中使用 import("core.project.config") + config.builddir() 替代
$(buildir) 变量,避免在某些 xmake 版本/配置下解析为空字符串导致
mkdir 尝试在根目录创建 /include/QWKCore 而失败。
- QWKCore: os.mkdir、safe_vcp、config_path 改用 path.join(builddir, ...)
- QWKCore: add_includedirs、add_headerfiles 改用 $(builddir)
- QWKWidgets: 同上处理
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This reverts commit 620e063.
This reverts commit 1760898.
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.
摘要
3rdparty/doctestxmake.lua定义本地liii-doctest包,替换 moebius/lolly 中的远程doctest依赖lolly/.github/workflows/到顶层.github/workflows/测试
xmake f --enable_tests=y --yesxmake test moebius_tests/tree_testxmake test lolly_tests/string_u16_test🤖 Generated with Claude Code