Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly enable workspace mode on Bazel CI #2250

Merged
merged 2 commits into from
Nov 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ tasks:
LANG: "C.UTF-8"
shell_commands:
- "sudo apt -y update && sudo apt -y install libgmp-dev"
# TODO(cb) remove once fully migrated to bzlmod
- |
echo ${USE_BAZEL_VERSION}
if [ $(echo ${USE_BAZEL_VERSION} | cut -d. -f1) != 6 ]; then
echo '(enabling workspace mode)' >&2
echo 'common --enable_workspace' > .bazelrc.local
fi
build_flags:
- "--config=ci-common"
- "--config=linux-bindist"
Expand Down
Loading