| --- |
| build_targets: &build_targets |
| - "//..." |
| - "@remote_java_tools//java_tools/..." |
| # TODO: Look into broken targets in //toolchains |
| - "-//toolchains/..." |
| - "-//test/repo/..." |
| # TODO: re-enable docs after protobuf is fixed |
| - "-//java/docs/..." |
| - "-//test:docs_up_to_date_test" |
| |
| build_targets_bazel6: &build_targets_bazel6 |
| - "//:all" |
| - "@remote_java_tools//java_tools/..." |
| - "//examples/..." |
| |
| test_targets: &test_targets |
| - "//test/..." |
| - "//java/test/..." |
| |
| buildifier: latest |
| |
| tasks: |
| # TODO: add config for 8.0.0 once released |
| # Bazel 7.x |
| ubuntu2004: |
| name: "Bazel 7.x" |
| bazel: "7.4.0" |
| build_targets: *build_targets |
| test_targets: |
| - "//test/..." |
| - "//java/test/..." |
| - "-//test:docs_up_to_date_test" |
| ubuntu2004_integration: |
| name: "Bazel 7.x Integration" |
| bazel: "7.4.0" |
| platform: ubuntu2004 |
| working_directory: "test/repo" |
| shell_commands: |
| - sh setup.sh |
| build_targets: |
| - "//..." |
| - "//:bin_deploy.jar" |
| - "@rules_java//java/..." |
| macos: |
| name: "Bazel 7.x" |
| bazel: "7.4.0" |
| build_targets: *build_targets |
| windows: |
| name: "Bazel 7.x" |
| bazel: "7.4.0" |
| build_targets: *build_targets |
| # Bazel@HEAD |
| ubuntu2004_head: |
| name: "Bazel@HEAD" |
| bazel: last_green |
| platform: ubuntu2004 |
| build_targets: *build_targets |
| ubuntu2004_integration_head: |
| name: "Bazel@HEAD Integration" |
| bazel: last_green |
| platform: ubuntu2004 |
| working_directory: "test/repo" |
| shell_commands: |
| - sh setup.sh |
| build_targets: |
| - "//..." |
| - "//:bin_deploy.jar" |
| - "@rules_java//java/..." |
| macos_head: |
| name: "Bazel@HEAD" |
| bazel: last_green |
| platform: macos |
| build_targets: *build_targets |
| windows_head: |
| name: "Bazel@HEAD" |
| bazel: last_green |
| platform: windows |
| build_targets: *build_targets |
| |
| # Bazel 6.x |
| ubuntu2004_bazel6: |
| name: "Bazel 6.x" |
| bazel: 6.5.0 |
| platform: ubuntu2004 |
| build_targets: *build_targets_bazel6 |
| ubuntu2004_integration_bazel6: |
| name: "Bazel 6.x Integration" |
| bazel: "6.5.0" |
| platform: ubuntu2004 |
| working_directory: "test/repo" |
| shell_commands: |
| - sh setup.sh |
| build_targets: |
| - "//..." |
| - "//:bin_deploy.jar" |
| macos_bazel6: |
| name: "Bazel 6.x" |
| bazel: 6.5.0 |
| platform: macos |
| build_targets: *build_targets_bazel6 |
| windows_bazel6: |
| name: "Bazel 6.x" |
| bazel: 6.5.0 |
| platform: windows |
| build_targets: *build_targets_bazel6 |