Skip to content

Commit 780f595

Browse files
authored
Bazel CI config: explicitly enable workspace wherever Bzlmod is disabled (#1276)
1 parent 1d8e362 commit 780f595

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.bazelci/config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ tasks:
2929
- "-//test:shell_script_inner_fun_test"
3030
build_flags:
3131
- "--noenable_bzlmod"
32+
- "--enable_workspace"
3233
test_flags:
3334
- "--noenable_bzlmod"
35+
- "--enable_workspace"
3436
ubuntu1804_examples_standalone:
3537
name: Examples (spawn_strategy=standalone)
3638
platform: ubuntu1804
@@ -44,12 +46,14 @@ tasks:
4446
- "dbg"
4547
- "--spawn_strategy=standalone"
4648
- "--noenable_bzlmod"
49+
- "--enable_workspace"
4750
test_targets: *linux_targets_standalone
4851
test_flags:
4952
- "-c"
5053
- "dbg"
5154
- "--spawn_strategy=standalone"
5255
- "--noenable_bzlmod"
56+
- "--enable_workspace"
5357
ubuntu2004_examples:
5458
name: Examples
5559
platform: ubuntu2004
@@ -61,8 +65,10 @@ tasks:
6165
test_targets: *linux_targets
6266
build_flags:
6367
- "--noenable_bzlmod"
68+
- "--enable_workspace"
6469
test_flags:
6570
- "--noenable_bzlmod"
71+
- "--enable_workspace"
6672
ubuntu2004_examples_bzlmod:
6773
name: Examples (bzlmod)
6874
platform: ubuntu2004
@@ -107,13 +113,15 @@ tasks:
107113
- "--spawn_strategy=standalone"
108114
- "--noincompatible_enable_cc_toolchain_resolution"
109115
- "--noenable_bzlmod"
116+
- "--enable_workspace"
110117
test_targets: *macos_targets_standalone
111118
test_flags:
112119
- "-c"
113120
- "dbg"
114121
- "--spawn_strategy=standalone"
115122
- "--noincompatible_enable_cc_toolchain_resolution"
116123
- "--noenable_bzlmod"
124+
- "--enable_workspace"
117125
macos_examples:
118126
name: Examples
119127
platform: macos
@@ -129,10 +137,12 @@ tasks:
129137
build_flags:
130138
- "--noincompatible_enable_cc_toolchain_resolution"
131139
- "--noenable_bzlmod"
140+
- "--enable_workspace"
132141
test_targets: *macos_targets
133142
test_flags:
134143
- "--noincompatible_enable_cc_toolchain_resolution"
135144
- "--noenable_bzlmod"
145+
- "--enable_workspace"
136146
windows_examples:
137147
name: Examples
138148
platform: windows
@@ -163,8 +173,10 @@ tasks:
163173
test_targets: *windows_targets
164174
build_flags:
165175
- "--noenable_bzlmod"
176+
- "--enable_workspace"
166177
test_flags:
167178
- "--noenable_bzlmod"
179+
- "--enable_workspace"
168180
rbe_ubuntu2004_flags:
169181
name: Flags
170182
platform: rbe_ubuntu2004

0 commit comments

Comments
 (0)