Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI流程优化 #200

Open
donghufeng opened this issue Dec 3, 2024 · 3 comments
Open

CI流程优化 #200

donghufeng opened this issue Dec 3, 2024 · 3 comments
Assignees

Comments

@donghufeng
Copy link
Collaborator

  • 新增 github action 的 cache,包括 pre-commit 的 cache 和 c++ 编译的 ccache
  • 提交代码到自己分支不需要进行门禁检查,可以自行本地进行检查
  • 提交 pr 到master分支触发基本门禁检查,包括 pre-commit 检查和一个平台编译即可
  • 发版本时候,进行全量检查和全量的编译发包
@Zhaoyilunnn
Copy link
Collaborator

Zhaoyilunnn commented Dec 5, 2024

  • 新增 github action 的 cache,包括 pre-commit 的 cache 和 c++ 编译的 ccache

现在pre-commit推荐使用https://pre-commit.ci/ ,自带了cache的功能,但我试了一下在拉取pylint镜像的时候超时了,这个时间好像还不能配置,不知道有没有什么解决方案

@donghufeng
Copy link
Collaborator Author

可以修改一下pylint的地址,之前填的是gitee地址,可以换成github的是是看。

@Zhaoyilunnn
Copy link
Collaborator

可以修改一下pylint的地址,之前填的是gitee地址,可以换成github的是是看。

还是不行,放弃了,就用pre-commit action配合cache action好了

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

No branches or pull requests

2 participants