Skip to content

ci(linux): 增加插件单测与 linux-host 编译门禁 - #333

Open
shareur wants to merge 1 commit into
huanfeng:mainfrom
shareur:ci/linux-check
Open

shareur wants to merge 1 commit into
huanfeng:mainfrom
shareur:ci/linux-check

Conversation

@shareur

@shareur shareur commented Nov 13, 2026 •

Copy link
Copy Markdown

变更说明

为 Linux Fcitx5 插件和 Rust 服务的 Linux 宿主构建增加常规 CI 门禁:

  • 新增 linux-check job,运行 Linux 插件核心单元测试。
  • 执行 Rust 服务的 linux-host feature 编译检查。
  • 使用只读仓库权限、30 分钟超时以及现有 Rust 缓存配置。
  • 将遗漏的 retired_surfaces_test 补入 Makefile 测试列表,使 Makefile 与 CMake 的 Linux 测试集合保持一致。

这可以让 Linux 插件、IPC 协议或宿主构建相关的回归在普通 PR 阶段暴露,而不必等到 Linux 发布打包流程。

变更类型

  • 构建 / CI 相关

相关 Issue

无关联 Issue。

测试情况

  • make -C wind_linux test 通过,14 个 Linux C++ 测试全部通过
  • cargo check -p wind_service --features linux-host 通过
  • GitHub Actions workflow YAML 解析检查通过
  • git diff --check 通过

本次修改只涉及 CI workflow 和 Linux C++ 测试清单,不涉及输入方案逻辑、Windows/macOS 产品代码或 Rust 源码,因此未执行上述平台及输入方案测试。

检查清单

  • Rust 代码已用 cargo fmt 格式化(不适用:本次未修改 Rust 代码)
  • 提交信息遵循 Conventional Commits 规范
  • 修改了 crate 对外接口/文件结构时,已同步更新对应 AGENTS.md(不适用:未修改 crate 接口或文件结构)
  • 已阅读 贡献指南
  • 首次贡献已签署 CLA

@github-actions

Copy link
Copy Markdown
Contributor

感谢您的贡献!在我们合并此 PR 之前,您需要签署贡献者许可协议 (CLA)。

请阅读 CLA 文档,然后在此评论区回复以下内容以完成签署:

I have read the CLA Document and I hereby sign the CLA


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@shareur

shareur commented Nov 13, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@shareur

shareur commented Nov 13, 2026

Copy link
Copy Markdown
Author

try again

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant