feat: ci support#14
Open
Charliechen114514 wants to merge 1 commit intomainfrom
Open
Conversation
- Add GitHub Actions workflows for CI/CD - Add ccache support to speed up builds - Fix CA certificate download issues - Add CI badge to README - Optimize submodule clone for PR checks
34cbae8 to
76ed37f
Compare
Member
Author
|
OK, CI测试搞完了,这里是CI测试矩阵和方法总结。截止到评论时变更,策略如下所示 快速参考
Workflow 触发规则1. PR Quick Checks(快速检查)
2. Component Build(组件构建)
现在从main分支迁出来的实际构建时间可以保证组件编译只需要5分钟左右(并行),所以平均普通非发布PR的CI检查大约在10分钟内可以搞定,如果全量不走ccache大约40分钟 并发控制
故障排查
提交前自检# 本地快速验证
./develop/scripts_readme_check.sh # 文档检查
shellcheck scripts/**/*.sh # 脚本语法(可选)
# 推送后查看
# GitHub → Actions → 查看运行状态 |
Member
Author
|
@Heizer-Tan ,可以看看这一策略是否存在问题,还要不要补充?补充的话后续五一我继续完善CI |
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.
feat: add ci support to promise scripts always usable