ci: add cmake&ninja to speed up github action build#9998
Closed
kaidegit wants to merge 18 commits intoRT-Thread:masterfrom
Closed
ci: add cmake&ninja to speed up github action build#9998kaidegit wants to merge 18 commits intoRT-Thread:masterfrom
kaidegit wants to merge 18 commits intoRT-Thread:masterfrom
Conversation
3c038d8 to
df29d93
Compare
Contributor
Author
Contributor
Author
|
另外几个rtduino炸flash了,可能哪里有问题 |
Member
|
可以试试.cache 方案#5969 |
Contributor
Author
|
感觉主要还是bsp瘦身,sdk下到packages里后面又删了的原因。可以考虑pkgs支持全局包?或者下完拷贝? |
Contributor
Author
|
btw,问下scons的严格模式添加了点什么啊 @supperthomas |
Member
加了--strict命令 |
Contributor
Author
我知道是这样,对应到编译选项是什么啊 |
Member
-Werror |
Member
|
ESP32C3看看是不是用ninja更快一些 |
Member
第二次编译也要sdk也会删吗?可以不删吗 |
Contributor
Author
放在packages里的应该都被删了吧。。 还有一方面,不同bsp如果用同个sdk,优化一下也可以避免重复下载 |
Contributor
Author
|
10 tasks
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.


拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
提交个pr等action实在是太慢了,看看ninja能否提提速
你的解决方案是什么 (what is your solution)
部分bsp使用scons+cmake+ninja编译代替scons编译
请提供验证的bsp和config (provide the config and bsp)
]
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:
#if 0代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up