| # LINT.IfChange(bcr_presubmit) |
| bcr_test_module: |
| module_path: examples |
| matrix: |
| platform: ["debian10", "macos", "macos_arm64", "ubuntu2004", "windows"] |
| bazel: [7.x, 8.x] |
| |
| tasks: |
| verify_targets: |
| name: "Verify build targets" |
| platform: ${{ platform }} |
| bazel: ${{ bazel }} |
| build_targets: |
| - '//...' |
| - '@com_google_protobuf//:protobuf' |
| - '@com_google_protobuf//:protobuf_lite' |
| - '@com_google_protobuf//:protobuf_python' |
| - '@com_google_protobuf//:protobuf_java' |
| - '@com_google_protobuf//:protoc' |
| - '@com_google_protobuf//:test_messages_proto2_cc_proto' |
| - '@com_google_protobuf//:test_messages_proto3_cc_proto' |
| # LINT.ThenChange(<ROOT_DIR>/.bazelci/presubmit.yml) |
| |
| # Use the default incompatible flags except with |
| # --incompatible_config_setting_private_default_visibility disabled. |
| incompatible_flags: |
| # https://github.com/bazelbuild/bazel/issues/17032 |
| "--incompatible_disable_starlark_host_transitions": |
| - 6.x |
| - 7.x |
| - 8.x |
| # https://github.com/bazelbuild/bazel/issues/22080 |
| "--incompatible_disable_native_repo_rules": |
| - 7.x |
| - 8.x |
| # https://github.com/bazelbuild/bazel/issues/23043 |
| "--incompatible_autoload_externally=": |
| - 7.x |
| - 8.x |
| # https://github.com/bazelbuild/bazel/issues/25755 |
| "--incompatible_disable_autoloads_in_main_repo": |
| - last_green |
| - rolling |