Bump to clang-tidy-8

pull/24433/head
Esun Kim 5 years ago
parent 4645da201a
commit 994c2047e9
  1. 7
      templates/tools/dockerfile/grpc_clang_tidy/Dockerfile.template
  2. 7
      templates/tools/dockerfile/test/sanity/Dockerfile.template
  3. 7
      tools/dockerfile/grpc_clang_tidy/Dockerfile
  4. 7
      tools/dockerfile/test/sanity/Dockerfile

@ -16,9 +16,12 @@
<%include file="../python_debian10.include"/>
# Add buster-backports for more recent clang packages
RUN echo "deb http://deb.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
# Install clang-tidy 7
RUN apt-get update && apt-get install -y clang-tidy-7 jq
ENV CLANG_TIDY=clang-tidy-7
RUN apt-get update && apt-get install -y clang-tidy-8 jq
ENV CLANG_TIDY=clang-tidy-8
ADD clang_tidy_all_the_things.sh /

@ -33,10 +33,13 @@
RUN python2 -m pip install simplejson mako virtualenv==16.7.9 lxml
RUN python3 -m pip install simplejson mako virtualenv==16.7.9 lxml
# Add buster-backports for more recent clang packages
RUN echo "deb http://deb.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
# Install clang, clang-format, and clang-tidy
RUN apt-get install -y clang clang-format-7 clang-tidy-7 jq
RUN apt-get update && apt-get install -y clang clang-format-7 clang-tidy-8 jq
ENV CLANG_FORMAT=clang-format-7
ENV CLANG_TIDY=clang-tidy-7
ENV CLANG_TIDY=clang-tidy-8
<%include file="../../bazel.include"/>

@ -61,9 +61,12 @@ RUN mkdir /var/local/jenkins
# Add buster-backports for more recent clang packages
RUN echo "deb http://deb.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
# Install clang-tidy 7
RUN apt-get update && apt-get install -y clang-tidy-7 jq
ENV CLANG_TIDY=clang-tidy-7
RUN apt-get update && apt-get install -y clang-tidy-8 jq
ENV CLANG_TIDY=clang-tidy-8
ADD clang_tidy_all_the_things.sh /

@ -81,10 +81,13 @@ RUN apt-get update && apt-get install -y \
RUN python2 -m pip install simplejson mako virtualenv==16.7.9 lxml
RUN python3 -m pip install simplejson mako virtualenv==16.7.9 lxml
# Add buster-backports for more recent clang packages
RUN echo "deb http://deb.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
# Install clang, clang-format, and clang-tidy
RUN apt-get install -y clang clang-format-7 clang-tidy-7 jq
RUN apt-get update && apt-get install -y clang clang-format-7 clang-tidy-8 jq
ENV CLANG_FORMAT=clang-format-7
ENV CLANG_TIDY=clang-tidy-7
ENV CLANG_TIDY=clang-tidy-8
#========================

Loading…
Cancel
Save