protobuf/ci
Mike Kruskal 0cda26d48d Move the windows path length workarounds out of protobuf-ci
PiperOrigin-RevId: 626148009
2024-04-18 14:19:16 -07:00
..
Linux.bazelrc Migrate non-Linux C++ tests to GHA actions 2023-02-02 11:49:47 -08:00
README.md Add documentation for our new GHA infrastructure 2023-02-10 09:31:29 -08:00
Windows.bazelrc Move the windows path length workarounds out of protobuf-ci 2024-04-18 14:19:16 -07:00
clang_wrapper Enable ccache for XCode builds. 2023-02-07 08:52:54 -08:00
clang_wrapper++ Enable ccache for XCode builds. 2023-02-07 08:52:54 -08:00
common.bazelrc Fix bazel cache issues in 7.0.0 2024-04-17 20:19:24 -07:00
macOS.bazelrc Move xcode setup out of protobuf-ci 2024-04-18 13:56:36 -07:00
push_auto_update.sh Force push auto-commits to bypass branch protection status checks 2023-06-09 10:01:40 -07:00

README.md

This directory contains CI-specific tooling.

Clang wrappers

CMake allows for compiler wrappers to be injected such as ccache, which intercepts compiler calls and short-circuits on cache-hits. This can be done by specifying CMAKE_C_COMPILER_LAUNCHER and CMAKE_CXX_COMPILER_LAUNCHER during CMake's configure step. Unfortunately, X-Code doesn't provide anything like this, so we use basic wrapper scripts to invoke ccache + clang.

Bazelrc files

In order to allow platform-specific .bazelrc flags during testing, we keep 3 different versions here along with a shared common.bazelrc that they all include. Our GHA infrastructure will select the appropriate file for any test and overwrite the default .bazelrc in our workspace, which is intended for development only.