dep-protobuf/ci
2025-02-03 12:21:54 -08: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 Remove --noenable_bzlmod from .bazelrc 2025-01-31 16:45:18 -08: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 Export environment variables so bazelisk picks them up 2024-12-11 10:24:00 -08: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.