1- ---
2-
3- bazel : last_green
1+ matrix :
2+ bazel : [
3+ 7.4.1,
4+ # last_green, # Enable this once WORKSPACE builds with Bazel 8 work.
5+ ]
46
57tools_flags : &tools_flags
68 ? "--enable_bzlmod=false"
9+ ? "--enable_workspace=true"
710 # Sandboxed SDK tools depend on libraries that require Java runtime 17 or higher.
811 ? "--java_runtime_version=17"
912rules_flags : &rules_flags
1013 ? "--enable_bzlmod=false"
14+ ? "--enable_workspace=true"
1115
1216tools : &tools
1317 name : " Tools"
@@ -34,9 +38,11 @@ tools_bzlmod: &tools_bzlmod
3438 build_flags :
3539 << : *tools_flags
3640 ? "--enable_bzlmod"
41+ ? "--enable_workspace=false"
3742 test_flags :
3843 << : *tools_flags
3944 ? "--enable_bzlmod"
45+ ? "--enable_workspace=false"
4046 << : *tools
4147rules : &rules
4248 name : " Rules"
@@ -53,52 +59,66 @@ rules_bzlmod: &rules_bzlmod
5359 build_flags :
5460 << : *rules_flags
5561 ? "--enable_bzlmod"
62+ ? "--enable_workspace=false"
5663 test_flags :
5764 << : *rules_flags
5865 ? "--enable_bzlmod"
66+ ? "--enable_workspace=false"
5967 << : *rules
6068
6169tasks :
6270 ubuntu2004_tools :
6371 platform : ubuntu2004
72+ bazel : ${{ bazel }}
6473 << : *tools
6574 ubuntu2004_rules :
6675 platform : ubuntu2004
76+ bazel : ${{ bazel }}
6777 << : *rules
6878 macos_tools :
6979 platform : macos
80+ bazel : ${{ bazel }}
7081 << : *tools
7182 macos_rules :
7283 platform : macos
84+ bazel : ${{ bazel }}
7385 << : *rules
7486 macos_arm64_tools :
7587 platform : macos_arm64
88+ bazel : ${{ bazel }}
7689 << : *tools
7790 macos_arm64_rules :
7891 platform : macos_arm64
92+ bazel : ${{ bazel }}
7993 << : *rules
8094 ubuntu2004_tools_bzlmod :
8195 platform : ubuntu2004
96+ bazel : ${{ bazel }}
8297 << : *tools_bzlmod
8398 ubuntu2004_rules_bzlmod :
8499 platform : ubuntu2004
100+ bazel : ${{ bazel }}
85101 << : *rules_bzlmod
86102 macos_bzlmods_tools :
87103 platform : macos
104+ bazel : ${{ bazel }}
88105 << : *tools_bzlmod
89106 macos_bzlmods_rules :
90107 platform : macos
108+ bazel : ${{ bazel }}
91109 << : *rules_bzlmod
92110 macos_arm64_tools_bzlmod :
93111 platform : macos_arm64
112+ bazel : ${{ bazel }}
94113 << : *tools_bzlmod
95114 macos_arm64_rules_bzlmod :
96115 platform : macos_arm64
116+ bazel : ${{ bazel }}
97117 << : *rules_bzlmod
98118 ubuntu2004_basicapp :
99119 name : " Basic app ubuntu"
100120 platform : ubuntu2004
101- name : basicapp
121+ bazel : ${{ bazel }}
102122 working_directory : examples/basicapp
103123 build_flags :
104124 << : *rules_flags
@@ -107,17 +127,18 @@ tasks:
107127 ubuntu2004_basicapp_bzlmod :
108128 name : " Basic app ubuntu bzlmod"
109129 platform : ubuntu2004
110- name : basicapp
130+ bazel : ${{ bazel }}
111131 working_directory : examples/basicapp
112132 build_flags :
113133 << : *rules_flags
114134 ? "--enable_bzlmod"
135+ ? "--enable_workspace=false"
115136 build_targets :
116137 - " //java/com/basicapp:basic_app"
117138 macos_arm64_basicapp :
118139 name : " Basic app mac arm64"
119140 platform : macos_arm64
120- name : basicapp
141+ bazel : ${{ bazel }}
121142 working_directory : examples/basicapp
122143 build_flags :
123144 << : *rules_flags
@@ -126,20 +147,31 @@ tasks:
126147 macos_arm64_basicapp_bzlmod :
127148 name : " Basic app mac arm64 bzlmod"
128149 platform : macos_arm64
129- name : basicapp
150+ bazel : ${{ bazel }}
130151 working_directory : examples/basicapp
131152 build_flags :
132153 << : *rules_flags
133154 ? "--enable_bzlmod"
155+ ? "--enable_workspace=false"
134156 build_targets :
135157 - " //java/com/basicapp:basic_app"
136158 windows_basicapp_bzlmod :
137159 name : " Windows Basicapp Bzlmod"
138160 platform : windows
139- name : basicapp
161+ bazel : ${{ bazel }}
140162 working_directory : examples/basicapp
141163 build_flags :
142164 << : *rules_flags
143165 ? "--enable_bzlmod"
166+ ? "--enable_workspace=false"
167+ build_targets :
168+ - " //java/com/basicapp:basic_app"
169+ windows_basicapp :
170+ name : " Windows Basicapp"
171+ platform : windows
172+ bazel : ${{ bazel }}
173+ working_directory : examples/basicapp
174+ build_flags :
175+ << : *rules_flags
144176 build_targets :
145- - " //java/com/basicapp:basic_app"
177+ - " //java/com/basicapp:basic_app"
0 commit comments