Add cmake-format to docker and mac runners (#1213)

For #1067
This commit is contained in:
Sergey Kuznetsov
2024-02-26 23:08:31 +00:00
committed by GitHub
parent c94f55b7eb
commit e98e74d768
3 changed files with 11 additions and 41 deletions

View File

@@ -31,9 +31,10 @@ RUN apt update -qq \
&& update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-${GCC_VERSION} 100 \
&& update-alternatives --install /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-${GCC_VERSION} 100 \
&& update-alternatives --install /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-${GCC_VERSION} 100 \
&& update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-${LLVM_TOOLS_VERSION} 100 \
&& apt-get clean && apt remove -y software-properties-common \
&& pip3 install -q --upgrade --no-cache-dir pip \
&& pip3 install -q --no-cache-dir conan==1.62 gcovr
&& pip3 install -q --no-cache-dir conan==1.62 gcovr cmake-format
# Install ccache from source
WORKDIR /tmp