diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml index c4e620367e9ca..f9ddff10994c4 100644 --- a/.bcr/presubmit.yml +++ b/.bcr/presubmit.yml @@ -4,12 +4,17 @@ bcr_test_module: matrix: platform: ["debian12", "macos_arm64", "ubuntu2404", "windows"] bazel: [8.x, 9.x] + prefer_prebuilt_protoc: ["true", "false"] tasks: verify_targets: - name: "Verify build targets" + name: "Verify build targets (prefer_prebuilt_protoc=${{ prefer_prebuilt_protoc }})" platform: ${{ platform }} bazel: ${{ bazel }} + build_flags: + - '--@com_google_protobuf//bazel/toolchains:prefer_prebuilt_protoc=${{ prefer_prebuilt_protoc }}' + test_flags: + - '--@com_google_protobuf//bazel/toolchains:prefer_prebuilt_protoc=${{ prefer_prebuilt_protoc }}' build_targets: - '//...' - '@com_google_protobuf//:protobuf' @@ -19,4 +24,6 @@ bcr_test_module: - '@com_google_protobuf//:protoc' - '@com_google_protobuf//:test_messages_proto2_cc_proto' - '@com_google_protobuf//:test_messages_proto3_cc_proto' + test_targets: + - '//...' # LINT.ThenChange(/.bazelci/presubmit.yml)