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

Enhance cache strategy with board-specific cache keys #1777

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

anilrajrimal1
Copy link

Summary:

This PR refines the caching strategy used in the Compile Library GitHub Actions workflow by making cache keys board-specific. Previously, caches for pip and PlatformIO were shared across all board configurations, which could lead to cache conflicts or inefficiencies. Now, each board (e.g., nodemcuv2, lolin32) has its own unique cache, improving cache hits and reducing build times.

Changes:

  • Modified cache keys for pip and PlatformIO to incorporate the board matrix value.
  • This change ensures better cache management when multiple boards are being built, preventing cache collisions.

Motivation:

This change improves the efficiency of the CI/CD pipeline by ensuring that the cache is appropriately scoped for each board, optimizing build times for different configurations.

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