SmingHub / Sming

Sming - powerful open source framework simplifying the creation of embedded C++ applications.
https://sming.readthedocs.io
GNU Lesser General Public License v3.0
1.47k stars 348 forks source link

Cache IDF and tools for esp32 CI builds #2848

Closed mikee47 closed 3 months ago

mikee47 commented 3 months ago

Saves time and resources downloading the IDF itself, all its submodules and build tools. Just need to clear the cache if we update IDF versions.

Total cache used is 5.58GB.

Note: Changed CI builds only to use a shallow clone for IDF (with submodules), otherwise cache consumed hits 10.25GB which exceeds allowance. Individually, the IDF size goes from from 1.5GB+ to 250MB. Most of this is attributable to components/esp_wifi/libs.

Note: Windows esp32 tools come in around 1.1-1.3GB compared with 350-520MB for other OSes.