Clean up the build scripts#281
Clean up the build scripts#281DocMoebiuz merged 6 commits intoMobiFlight:mainfrom neilenns:neilenns/issue235
Conversation
|
Firmware for this pull request: |
|
First run of this PR shows no cache was present: Second run of this PR shows the cache being used: |
|
Firmware for this pull request: |
|
Even with the cache being used I still see the pico-sdk getting cloned. I assume that is because it uses a different mechanism than other dependencies (cloned from a github repo instead of referenced from the platformio library). pico-sdk cloning is what is driving our long build times :( |
|
Found a thread about caching toolchains: https://community.platformio.org/t/caching-platformio-external-in-libs-gitlab-ci/12160/2, trying that. |
|
Firmware for this pull request: |
|
Firmware for this pull request: |
|
See https://github.com/MobiFlight/MobiFlight-FirmwareSource/actions/runs/6878419283/job/18708061068 for a build that used the cache and didn't re-clone the toolchains or frameworks. |
|
Firmware for this pull request: |
Fixes #235
Description of changes
Build time without cache: 7 minutes 13 seconds
Build time with cache: 3 minutes 34 seconds