wasphin opened a new pull request, #3486:
URL: https://github.com/apache/brpc/pull/3486

   ### What problem does this PR solve?
   
   Issue Number: resolve
   
   Problem Summary:
   CI recompiles the same sources and downloads the same Bazel dependencies on 
every run, making build validation unnecessarily slow.
   
   ### What is changed and the side effects?
   
   Changed:
   - Add a shared composite action that configures ccache for Make/CMake builds.
   - Cache Bazel repository downloads separately from Bazel build outputs.
   - Reuse caches in Linux and macOS build jobs while preserving the existing 
test execution behavior.
   
   Side effects:
   - Performance effects: Subsequent CI runs can reuse compiler outputs and 
Bazel downloads/build outputs. Cache sizes are bounded to 2 GiB for ccache; 
Bazel caches remain separated by job with safe fallback restores.
   
   - Breaking backward compatibility: None.
   
   ---
   ### Check List:
   - Please make sure your changes are compilable.
   - When providing us with a new feature, it is best to add related tests.
   - Please follow [Contributor Covenant Code of 
Conduct](https://github.com/apache/brpc/blob/master/CODE_OF_CONDUCT.md).


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to