Unverified Commit f0e75fc1 authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

add clang to ci docker

parent 5eedadad
...@@ -24,6 +24,14 @@ RUN apt-get update \ ...@@ -24,6 +24,14 @@ RUN apt-get update \
build-essential \ build-essential \
&& rm -rf /var/lib/apt/lists/* && 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 # Install CMake
RUN curl -sL https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh -o cmake.sh \ RUN curl -sL https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh -o cmake.sh \
&& chmod +x cmake.sh \ && chmod +x cmake.sh \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment