ci: remote Windows lint C++ actions

This commit is contained in:
Adam Perry
2026-06-22 11:51:14 -07:00
committed by Adam Perry @ OpenAI
parent b9afe5dcd1
commit d93ad01950
4 changed files with 40 additions and 0 deletions
+9
View File
@@ -255,6 +255,15 @@ if [[ ${#bazel_args[@]} -eq 0 || ${#bazel_targets[@]} -eq 0 ]]; then
exit 1
fi
if [[ "${RUNNER_OS:-}" == "Windows" ]]; then
for arg in "${bazel_args[@]}"; do
if [[ "$arg" == "--config=argument-comment-lint" ]]; then
ci_config=ci-windows-argument-lint
break
fi
done
fi
if [[ "${RUNNER_OS:-}" == "Windows" && $windows_cross_compile -eq 1 && -z "${BUILDBUDDY_API_KEY:-}" ]]; then
# Windows cross-compilation depends on authenticated RBE. Preserve the local
# Windows build shape when credentials are unavailable.