зеркало из https://github.com/microsoft/LightGBM.git
add clang to ci docker
This commit is contained in:
Родитель
5eedadad4a
Коммит
f0e75fc107
|
@ -24,6 +24,14 @@ RUN apt-get update \
|
|||
build-essential \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install clang 6.0
|
||||
RUN add-apt-repository ppa:ubuntu-toolchain-r/test \
|
||||
&& cd /tmp \
|
||||
&& wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
|
||||
&& apt-add-repository "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-6.0 main" \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends clang-6.0
|
||||
|
||||
# Install CMake
|
||||
RUN curl -sL https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh -o cmake.sh \
|
||||
&& chmod +x cmake.sh \
|
||||
|
|
Загрузка…
Ссылка в новой задаче