Protobuf Team Bot | 12af9ad | 2024-05-07 11:13:14 -0700 | [diff] [blame] | 1 | # Simple build tests for compatibility of gencode from previous major versions |
| 2 | # with the current runtime. |
| 3 | # |
| 4 | # To add more test cases in Java, use java_runtime_conformance as below, and add |
| 5 | # the corresponding http_archive in the WORKSPACE file for the version. |
| 6 | |
| 7 | load("//compatibility:runtime_conformance.bzl", "java_runtime_conformance") |
| 8 | |
| 9 | # main gencode builds with main runtime as a proof of concept. |
| 10 | java_runtime_conformance( |
| 11 | name = "java_conformance_main", |
| 12 | gencode_version = "main", |
| 13 | ) |
| 14 | |
| 15 | # Generates a build_test named "conformance_v3.25.0" |
| 16 | java_runtime_conformance( |
| 17 | name = "java_conformance_v3.25.0", |
| 18 | gencode_version = "3.25.0", |
Protobuf Team Bot | 12af9ad | 2024-05-07 11:13:14 -0700 | [diff] [blame] | 19 | ) |