PiperOrigin-RevId: 731327971pull/20452/head
parent
57b59ef601
commit
0d7ebb7122
3 changed files with 31 additions and 2 deletions
@ -0,0 +1,6 @@ |
||||
# Bazel CI test |
||||
|
||||
The `.bazelci/presubmit.yml` file is used by https://buildkite.com/bazel/protobuf |
||||
to test building protobuf with Bazel on Bazel CI. It should contain the same |
||||
set of tests as `.bcr/presubmit.yml` which is the tests that will run before |
||||
publishing protobuf to BCR. |
@ -0,0 +1,21 @@ |
||||
# LINT.IfChange(bazelci_presubmit) |
||||
matrix: |
||||
platform: ["debian10", "macos", "macos_arm64", "ubuntu2004", "windows"] |
||||
bazel: [7.x, 8.x] |
||||
|
||||
tasks: |
||||
verify_targets: |
||||
name: "Verify build targets" |
||||
working_directory: examples |
||||
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>/.bcr/presubmit.yml) |
Loading…
Reference in new issue