mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 04:32:55 +00:00
40a438be3e
- use sccache for build caching - add coverage reports as build artifacts - add lcov-summary for coverage summary - clean up/refactor CI yaml This resolves the FreeBSD part of #754.
25 lines
740 B
Docker
25 lines
740 B
Docker
ARG IMAGE=registry.gitlab.com/brndnmtthws-oss/conky
|
|
FROM ${IMAGE}/builder/ubuntu-base:latest
|
|
|
|
RUN wget -q https://apt.llvm.org/llvm-snapshot.gpg.key \
|
|
&& apt-key add llvm-snapshot.gpg.key \
|
|
&& add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main' \
|
|
&& DEBIAN_FRONTEND=noninteractive \
|
|
apt-get install -qy --no-install-recommends \
|
|
clang-7 \
|
|
lldb-7 \
|
|
lld-7 \
|
|
libc++-7-dev \
|
|
libc++abi-7-dev \
|
|
clang-tools-7 \
|
|
clang-format-7 \
|
|
clang-tidy-7 \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& wget https://deb.nodesource.com/setup_11.x -O npm.sh \
|
|
&& bash npm.sh \
|
|
&& rm npm.sh \
|
|
&& apt-get install -y nodejs \
|
|
&& npm install -g lcov-summary \
|
|
&& npm cache clean --force
|