dep-protobuf/ci
Adam Cozzette da8ee11e6f Enable more --incompatible flags that are enforced by the BCR presubmit
We want to make sure to catch any breakages early because failures will prevent
us from publishing to BCR.

PiperOrigin-RevId: 786762496
2025-07-24 10:56:58 -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 Enable more --incompatible flags that are enforced by the BCR presubmit 2025-07-24 10:56:58 -07:00
Linux.bazelrc Build with -Wundef (#17845) 2024-11-27 09:14:54 -08:00
macOS.bazelrc Upgrade zlib to BCR patch 5 and remove -Wunknown-warning-option for macOS. 2025-02-03 12:21:54 -08:00
push_auto_update.sh Upgrade to Bazel 7.6.1 2025-07-07 12:22:23 -07:00
python_compatibility.sh Extend gencode compatibility support back to 3.20.0 2025-06-26 21:48:03 -07:00
README.md Add documentation for our new GHA infrastructure 2023-02-10 09:31:29 -08:00
Windows.bazelrc Breaking change: prohibit using Bazel+MSVC to build protobuf 2025-01-28 22:01:32 -08:00

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.