Skip to content

Commit

Permalink
Update protobuf.yml (#1293)
Browse files Browse the repository at this point in the history
Add `--proto_toolchain_for_cc=//:cc_toolchain` to work around bazelbuild/bazel#10590 (comment)
  • Loading branch information
meteorcloudy committed Dec 14, 2021
1 parent e244fc8 commit 8de02ee
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions pipelines/protobuf.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
---
platforms:
ubuntu2004:
test_flags:
- "--proto_toolchain_for_cc=//:cc_toolchain"
test_targets:
- "//:all"
- "//java/..."
# `cc_proto_blacklist_test` only works as `@com_google_protobuf//:cc_proto_blacklist_test`.
# https://github.com/bazelbuild/bazel/issues/10590
- "-//:cc_proto_blacklist_test"
- "@com_google_protobuf//:cc_proto_blacklist_test"
- "//:cc_proto_blacklist_test"
macos:
test_flags:
- "--proto_toolchain_for_cc=//:cc_toolchain"
test_targets:
- "//:all"
- "//java/..."
# `cc_proto_blacklist_test` only works as `@com_google_protobuf//:cc_proto_blacklist_test`.
# https://github.com/bazelbuild/bazel/issues/10590
- "-//:cc_proto_blacklist_test"
- "@com_google_protobuf//:cc_proto_blacklist_test"
- "//:cc_proto_blacklist_test"
windows:
test_flags:
- "--proto_toolchain_for_cc=//:cc_toolchain"
test_targets:
- "//:all"
- "//java/..."
# `cc_proto_blacklist_test` only works as `@com_google_protobuf//:cc_proto_blacklist_test`.
# https://github.com/bazelbuild/bazel/issues/10590
- "-//:cc_proto_blacklist_test"
- "@com_google_protobuf//:cc_proto_blacklist_test"
- "//:cc_proto_blacklist_test"
- "-//java/core:conformance_test"
- "-//java/lite:conformance_test"

0 comments on commit 8de02ee

Please sign in to comment.