Skip to content

Drop the format check from CI - #8

Merged
catyugu merged 1 commit into
mainfrom
agent/drop-format-check
Nov 1, 2026
Merged

catyugu merged 1 commit into
mainfrom
agent/drop-format-check

Conversation

@catyugu

@catyugu catyugu commented Nov 1, 2026

Copy link
Copy Markdown
Owner

不再把格式作为合并门禁。

  • ci.yml:删除 format job,剩 native 矩阵(5 个检查)和 sanitizer。
  • template.yml:删除 clang-format 安装步骤。
  • test_template.py:不再调用 check_format.py,仍然对两种链接方式跑全部范围。
  • 删除 .github/scripts/check_format.py(唯一用途就是那个检查)。
  • README.md:本地验证清单去掉 format 一行,Job 数 8 → 7,新增一句说明格式不入 CI。

.clang-format 保留,作为编辑器和 clang-format -i 的依据,评审时按需处理。

验证

  • 三个 workflow 的 YAML 可解析:ci.yml 2 个 job、template.yml 1 个、release.yml 2 个。
  • python .github/scripts/test_template.py 本地跑通(exit 0):初始化 AwesomeApp 后 static/Debug 与 shared/Release 两轮 --scope all 全部通过。
  • 规则的 required status check 已同步为 7 个,本 PR 的 7 个检查通过后即可合并。

Formatting is no longer a merge gate, so the format job, the formatter installation in both workflows, and check_format.py are gone. The template workflow no longer runs the check either; it still builds and tests both linkagings over every scope.

The .clang-format file stays as the reference for editors and clang-format -i, and the README now says so and counts 7 CI jobs instead of 8.
@catyugu
catyugu merged commit eed64a0 into main Nov 1, 2026
7 checks passed
@catyugu
catyugu deleted the agent/drop-format-check branch November 1, 2026 15:45
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