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

Cache IDF and tools for esp32 CI builds #2848

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

mikee47
Copy link
Contributor

@mikee47 mikee47 commented Jul 1, 2024

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.

  • The IDF itself is shared amongst all platforms
  • The build tools are specific to each OS

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.

@SmingHub SmingHub deleted a comment from what-the-diff bot Jul 1, 2024
@slaff slaff added this to the 5.2.0 milestone Jul 2, 2024
@slaff slaff merged commit a49290b into SmingHub:develop Jul 2, 2024
47 of 48 checks passed
@mikee47 mikee47 deleted the feature/ci-esp32-cache branch July 2, 2024 11:16
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.

2 participants