Skip to content

Commit

Permalink
Drop bazel 6 in BCR and add --experimental_google_legacy_api for testing
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 681081216
  • Loading branch information
mkruskal-google authored and zhangskz committed Nov 18, 2024
1 parent 325aa80 commit 92b874a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .bcr/presubmit.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
matrix:
platform: ["debian10", "macos", "ubuntu2004", "windows"]
bazel: [6.x, 7.x]
bazel: [7.x]

tasks:
verify_targets:
Expand All @@ -10,6 +10,7 @@ tasks:
build_flags:
- '--host_cxxopt=-std=c++14'
- '--cxxopt=-std=c++14'
- '--experimental_google_legacy_api'
build_targets:
- '@protobuf//:protobuf'
- '@protobuf//:protobuf_lite'
Expand All @@ -23,7 +24,7 @@ bcr_test_module:
module_path: "examples"
matrix:
platform: ["debian10", "macos", "ubuntu2004", "windows"]
bazel: [6.x, 7.x]
bazel: [7.x]
tasks:
run_test_module:
name: "Run test module"
Expand All @@ -32,5 +33,6 @@ bcr_test_module:
build_flags:
- '--host_cxxopt=-std=c++14'
- '--cxxopt=-std=c++14'
- '--experimental_google_legacy_api'
build_targets:
- "//..."

0 comments on commit 92b874a

Please sign in to comment.