Skip to content

Commit 069fc77

Browse files
authored
Merge pull request #2250 from tweag/cb/fix-bazel-head-workspace
Explicitly enable workspace mode on Bazel CI
2 parents d401e24 + e6aadbb commit 069fc77

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.bazelci/presubmit.yml

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ tasks:
1515
LANG: "C.UTF-8"
1616
shell_commands:
1717
- "sudo apt -y update && sudo apt -y install libgmp-dev"
18+
# TODO(cb) remove once fully migrated to bzlmod
19+
- |
20+
echo ${USE_BAZEL_VERSION}
21+
if [ $(echo ${USE_BAZEL_VERSION} | cut -d. -f1) != 6 ]; then
22+
echo '(enabling workspace mode)' >&2
23+
echo 'common --enable_workspace' > .bazelrc.local
24+
fi
1825
build_flags:
1926
- "--config=ci-common"
2027
- "--config=linux-bindist"

0 commit comments

Comments
 (0)