refs #146 bump clang-format version to 12
This commit is contained in:
parent
09d3a42c14
commit
ebd7120151
@ -24,12 +24,12 @@ RUN apt update && \
|
||||
git \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key| apt-key add - && add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main"
|
||||
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key| apt-key add - && add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main"
|
||||
|
||||
RUN apt update && \
|
||||
apt install -y --no-install-recommends \
|
||||
libclang-11-dev \
|
||||
clang-format-11 \
|
||||
libclang-12-dev \
|
||||
clang-format-12 \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile=minimal --target thumbv7em-none-eabi thumbv7em-none-eabihf && \
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
# set -e
|
||||
|
||||
CLANG_FORMAT_BIN="/usr/bin/clang-format-11"
|
||||
CLANG_FORMAT_BIN="/usr/bin/clang-format-12"
|
||||
PATH="$HOME/.cargo/bin:${PATH}"
|
||||
|
||||
PROJECT_DIR=$(pwd)
|
||||
|
Loading…
Reference in New Issue
Block a user