Skip to content

Commit c10cbb2

Browse files
committed
[libc++] Install clang-tidy in docker containers
Install clang-tidy Reviewed By: ldionne, #libc Spies: sammccall, mgorny, libcxx-commits, arichardson Differential Revision: https://reviews.llvm.org/D117268
1 parent c90d136 commit c10cbb2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libcxx/utils/ci/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ RUN apt-get install -y clang-format-$LLVM_LATEST_VERSION
7070
RUN ln -s /usr/bin/clang-format-$LLVM_LATEST_VERSION /usr/bin/clang-format && [ -e $(readlink /usr/bin/clang-format) ]
7171
RUN ln -s /usr/bin/git-clang-format-$LLVM_LATEST_VERSION /usr/bin/git-clang-format && [ -e $(readlink /usr/bin/git-clang-format) ]
7272

73+
# Install clang-tidy
74+
RUN apt-get install -y clang-tidy-$LLVM_LATEST_VERSION
75+
RUN ln -s /usr/bin/clang-tidy-$LLVM_LATEST_VERSION /usr/bin/clang-tidy && [ -e $(readlink /usr/bin/clang-tidy) ]
76+
7377
# Install the most recent GCC
7478
ENV GCC_LATEST_VERSION=11
7579
RUN add-apt-repository ppa:ubuntu-toolchain-r/test

0 commit comments

Comments
 (0)