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

Disable --features=treat_warnings_as_errors on CI for Bazel 6 #277

Closed
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
22 changes: 22 additions & 0 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ tasks:
name: "Latest Bazel"
bazel: latest
<<: *common
build_flags:
# Bazel 6.x has dependencies that produce warnings now
# TODO: Remove once latest is Bazel 7+
- "--features=-treat_warnings_as_errors"
test_flags:
# Bazel 6.x has dependencies that produce warnings now
# TODO: Remove once latest is Bazel 7+
- "--features=-treat_warnings_as_errors"

macos_latest_bzlmod:
name: "Current LTS using bzlmod"
Expand All @@ -35,8 +43,14 @@ tasks:
- "-//doc/..."
build_flags:
- "--enable_bzlmod"
# Bazel 6.x has dependencies that produce warnings now
# TODO: Remove once latest is Bazel 7+
- "--features=-treat_warnings_as_errors"
test_flags:
- "--enable_bzlmod"
# Bazel 6.x has dependencies that produce warnings now
# TODO: Remove once latest is Bazel 7+
- "--features=-treat_warnings_as_errors"

macos_last_green:
name: "Last Green Bazel"
Expand All @@ -51,6 +65,14 @@ tasks:
# has landed on them breaking this project.
- .bazelci/update_workspace_to_deps_heads.sh
<<: *common
build_flags:
# Bazel 6.x has dependencies that produce warnings now
# TODO: Remove once latest is Bazel 7+
- "--features=-treat_warnings_as_errors"
test_flags:
# Bazel 6.x has dependencies that produce warnings now
# TODO: Remove once latest is Bazel 7+
- "--features=-treat_warnings_as_errors"

linux_latest:
name: "Current LTS on Linux"
Expand Down