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: optimize ci workflow, close #200 #202

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zhaoyilunnn
Copy link
Collaborator

改动

  • 当push到非master分支的时候,只运行commit-lint一个action。
  • 当push/pr到master的时候,只在linux下进行构建,并通过ccache缓存c++编译产出。
  • 当push一个新的tag时,在全平台构建,此时仍然和以前一样采用cibuildwheel进行构建,由于cibuildwheel在隔离的容器环境中构建,而且包含windows, macos等平台,想要使用ccache比较麻烦。且考虑到只有发布版本的时候才会全平台构建,这时感觉不需要ccache了。
  • 给pre-commit增加了cache。

效果

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