-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release: https://github.com/protocolbuffers/protobuf/releases/tag/v27.2 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: null <null>
- Loading branch information
1 parent
5a283c6
commit b9d9823
Showing
4 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel | ||
# https://github.com/protocolbuffers/protobuf/issues/14313 | ||
module( | ||
name = "protobuf", | ||
version = "27.2", # Automatically updated on release | ||
compatibility_level = 1, | ||
repo_name = "com_google_protobuf", | ||
) | ||
|
||
# LOWER BOUND dependency versions. | ||
# Bzlmod follows MVS: | ||
# https://bazel.build/versions/6.0.0/build/bzlmod#version-resolution | ||
# Thus the highest version in their module graph is resolved. | ||
bazel_dep(name = "abseil-cpp", version = "20230802.0.bcr.1", repo_name = "com_google_absl") | ||
bazel_dep(name = "bazel_skylib", version = "1.4.1") | ||
bazel_dep(name = "jsoncpp", version = "1.9.5") | ||
bazel_dep(name = "rules_cc", version = "0.0.9") | ||
bazel_dep(name = "rules_java", version = "5.3.5") | ||
bazel_dep(name = "rules_jvm_external", version = "5.1") | ||
bazel_dep(name = "rules_pkg", version = "0.7.0") | ||
bazel_dep(name = "rules_python", version = "0.10.2") | ||
bazel_dep(name = "platforms", version = "0.0.8") | ||
bazel_dep(name = "zlib", version = "1.2.11") | ||
|
||
# TODO: remove after toolchain types are moved to protobuf | ||
bazel_dep(name = "rules_proto", version = "4.0.0") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
matrix: | ||
platform: ["debian10", "macos", "ubuntu2004", "windows"] | ||
bazel: [6.x, 7.x] | ||
|
||
tasks: | ||
verify_targets: | ||
name: "Verify build targets" | ||
platform: ${{ platform }} | ||
bazel: ${{ bazel }} | ||
build_flags: | ||
- '--host_cxxopt=-std=c++14' | ||
- '--cxxopt=-std=c++14' | ||
build_targets: | ||
- '@protobuf//:protobuf' | ||
- '@protobuf//:protobuf_lite' | ||
- '@protobuf//:protoc' | ||
- '@protobuf//:test_messages_proto2_cc_proto' | ||
- '@protobuf//:test_messages_proto3_cc_proto' | ||
|
||
bcr_test_module: | ||
module_path: "examples" | ||
matrix: | ||
|
||
platform: ["debian10", "macos", "ubuntu2004", "windows"] | ||
bazel: [6.x, 7.x] | ||
tasks: | ||
run_test_module: | ||
name: "Run test module" | ||
platform: ${{ platform }} | ||
bazel: ${{ bazel }} | ||
build_flags: | ||
- '--host_cxxopt=-std=c++14' | ||
- '--cxxopt=-std=c++14' | ||
build_targets: | ||
- "//..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"integrity": "sha256-e0VU9zCkH1xZXO81AgOKabiVTDDY7JxioWfV4evYwhA=", | ||
"strip_prefix": "protobuf-27.2", | ||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.2/protobuf-27.2.zip" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters