jerpelea opened a new pull request, #21229:
URL: https://github.com/apache/nuttx/pull/21229

   ## Summary
   
   Currently, Linux matrix jobs in .github/workflows/build.yml pass '-c' to 
cibuild.sh to enable ccache inside the Docker container, but the cache 
directory (sources/tools/ccache) is discarded upon container exit and runner 
teardown.
   
   This change enables persistent ccache caching across GitHub Actions workflow 
runs:
   1. Add an actions/cache@v6 step in build.yml to restore and save 
sources/tools/ccache per board matrix job.
   2. Add a post-build permission adjustment step so the runner user can 
archive Docker-created cache files without permission issues.
   3. Configure CCACHE_MAXSIZE (defaulting to 1G per board matrix job) in 
cibuild.sh to prevent unbounded repository cache consumption.
   4. Add the ccache wrapper directory to PATH in tools/ci/platforms/ubuntu.sh.
   
   Addresses #20483.
   
   ## Impact
   
   RELEASE
   
   ## Testing
   
   Ci


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to