diff options
author | Brentley Jones <github@brentleyjones.com> | 2023-10-17 09:12:21 -0500 |
---|---|---|
committer | Brentley Jones <github@brentleyjones.com> | 2023-10-17 09:19:34 -0500 |
commit | a3b7ab1f1488b02374034a7d1f466bb95178c571 (patch) | |
tree | 4c3fb6728e051949de0195467d3ab34631607591 | |
parent | d5dd1a3908c7e0a7aff3308a4b831df8b307d27f (diff) | |
download | bazelbuild-apple_support-a3b7ab1f1488b02374034a7d1f466bb95178c571.tar.gz |
Disable `--features=treat_warnings_as_errors` on CI for Bazel 6
Bazel 6.x has dependencies that produce warnings now.
Signed-off-by: Brentley Jones <github@brentleyjones.com>
-rw-r--r-- | .bazelci/presubmit.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 57c5e3e..92bd201 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -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" @@ -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" @@ -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" |