From 52d72db2f276f24a1c34d94eb9b1118702857fea Mon Sep 17 00:00:00 2001 From: Marcel Hlopko Date: Tue, 9 Mar 2021 15:03:07 +0100 Subject: [PATCH] Add clang tasks on Linux CI (#629) --- .bazelci/presubmit.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 18ebd70c84..c57d817954 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -104,6 +104,15 @@ tasks: platform: ubuntu1804 shell_commands: - ./test/clippy/clippy_failure_test.sh + ubuntu2004_clang: + name: Ubuntu 20.04 with Clang + platform: ubuntu2004 + build_flags: + - "--repo_env=CC=clang" + # TODO(hlopko): Make this work (some tests were failing) + # - "--linkopt=-fuse-ld=lld" + build_targets: *default_linux_targets + test_targets: *default_linux_targets buildifier: version: latest