Add a separate config for Bazel 8 to rules_java CI PiperOrigin-RevId: 729541202 Change-Id: Ife01d73c2a82ebd1c74af91c5e1e0c317a0823a8
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index fff8cfd..2bf1a1f 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml
@@ -39,16 +39,16 @@ buildifier: latest tasks: -# TODO: add config for 8.0.0 once released # Bazel 7.x - ubuntu2004: + ubuntu2004_bazel7: name: "Bazel 7.x" bazel: "7.4.0" + platform: ubuntu2004 build_targets: *build_targets test_targets: *test_targets test_flags: - "--test_tag_filters=-min_bazel_8" - ubuntu2004_integration: + ubuntu2004_integration_bazel7: name: "Bazel 7.x Integration" bazel: "7.4.0" platform: ubuntu2004 @@ -57,7 +57,7 @@ - sh setup.sh build_targets: *build_targets_integration test_targets: *test_target_integration - ubuntu2004_integration_workspace: + ubuntu2004_integration_workspace_bazel7: name: "Bazel 7.x Integration (WORKSPACE)" bazel: "7.4.0" platform: ubuntu2004 @@ -68,13 +68,52 @@ build_flags: *flags_workspace_integration test_targets: *test_target_integration test_flags: *flags_workspace_integration - macos: + macos_bazel7: name: "Bazel 7.x" bazel: "7.4.0" + platform: macos build_targets: *build_targets - windows: + windows_bazel7: name: "Bazel 7.x" bazel: "7.4.0" + platform: windows + build_targets: *build_targets +# Bazel 8.x + ubuntu2004_bazel8: + name: "Bazel 8.x" + bazel: "8.1.0" + platform: ubuntu2004 + build_targets: *build_targets + test_targets: *test_targets + ubuntu2004_integration_bazel8: + name: "Bazel 8.x Integration" + bazel: "8.1.0" + platform: ubuntu2004 + working_directory: "test/repo" + shell_commands: + - sh setup.sh + build_targets: *build_targets_integration + test_targets: *test_target_integration + ubuntu2004_integration_workspace_bazel8: + name: "Bazel 8.x Integration (WORKSPACE)" + bazel: "8.1.0" + platform: ubuntu2004 + working_directory: "test/repo" + shell_commands: + - sh setup.sh + build_targets: *build_targets_integration + build_flags: *flags_workspace_integration + test_targets: *test_target_integration + test_flags: *flags_workspace_integration + macos_bazel8: + name: "Bazel 8.x" + bazel: "8.1.0" + platform: macos + build_targets: *build_targets + windows_bazel8: + name: "Bazel 8.x" + bazel: "8.1.0" + platform: windows build_targets: *build_targets # Bazel@HEAD ubuntu2004_head: