Skip to content

Commit e829603

Browse files
hvadehrarules_java Copybara
authored andcommitted
Add a separate config for Bazel 8 to rules_java CI
PiperOrigin-RevId: 729541202 Change-Id: Ife01d73c2a82ebd1c74af91c5e1e0c317a0823a8
1 parent fca8eb9 commit e829603

File tree

1 file changed

+45
-6
lines changed

1 file changed

+45
-6
lines changed

.bazelci/presubmit.yml

Lines changed: 45 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ flags_workspace_integration: &flags_workspace_integration
3939
buildifier: latest
4040

4141
tasks:
42-
# TODO: add config for 8.0.0 once released
4342
# Bazel 7.x
44-
ubuntu2004:
43+
ubuntu2004_bazel7:
4544
name: "Bazel 7.x"
4645
bazel: "7.4.0"
46+
platform: ubuntu2004
4747
build_targets: *build_targets
4848
test_targets: *test_targets
4949
test_flags:
5050
- "--test_tag_filters=-min_bazel_8"
51-
ubuntu2004_integration:
51+
ubuntu2004_integration_bazel7:
5252
name: "Bazel 7.x Integration"
5353
bazel: "7.4.0"
5454
platform: ubuntu2004
@@ -57,7 +57,7 @@ tasks:
5757
- sh setup.sh
5858
build_targets: *build_targets_integration
5959
test_targets: *test_target_integration
60-
ubuntu2004_integration_workspace:
60+
ubuntu2004_integration_workspace_bazel7:
6161
name: "Bazel 7.x Integration (WORKSPACE)"
6262
bazel: "7.4.0"
6363
platform: ubuntu2004
@@ -68,13 +68,52 @@ tasks:
6868
build_flags: *flags_workspace_integration
6969
test_targets: *test_target_integration
7070
test_flags: *flags_workspace_integration
71-
macos:
71+
macos_bazel7:
7272
name: "Bazel 7.x"
7373
bazel: "7.4.0"
74+
platform: macos
7475
build_targets: *build_targets
75-
windows:
76+
windows_bazel7:
7677
name: "Bazel 7.x"
7778
bazel: "7.4.0"
79+
platform: windows
80+
build_targets: *build_targets
81+
# Bazel 8.x
82+
ubuntu2004_bazel8:
83+
name: "Bazel 8.x"
84+
bazel: "8.1.0"
85+
platform: ubuntu2004
86+
build_targets: *build_targets
87+
test_targets: *test_targets
88+
ubuntu2004_integration_bazel8:
89+
name: "Bazel 8.x Integration"
90+
bazel: "8.1.0"
91+
platform: ubuntu2004
92+
working_directory: "test/repo"
93+
shell_commands:
94+
- sh setup.sh
95+
build_targets: *build_targets_integration
96+
test_targets: *test_target_integration
97+
ubuntu2004_integration_workspace_bazel8:
98+
name: "Bazel 8.x Integration (WORKSPACE)"
99+
bazel: "8.1.0"
100+
platform: ubuntu2004
101+
working_directory: "test/repo"
102+
shell_commands:
103+
- sh setup.sh
104+
build_targets: *build_targets_integration
105+
build_flags: *flags_workspace_integration
106+
test_targets: *test_target_integration
107+
test_flags: *flags_workspace_integration
108+
macos_bazel8:
109+
name: "Bazel 8.x"
110+
bazel: "8.1.0"
111+
platform: macos
112+
build_targets: *build_targets
113+
windows_bazel8:
114+
name: "Bazel 8.x"
115+
bazel: "8.1.0"
116+
platform: windows
78117
build_targets: *build_targets
79118
# Bazel@HEAD
80119
ubuntu2004_head:

0 commit comments

Comments
 (0)