Containerise Linux build (#145)

This commit is contained in:
Amaury Chamayou
2020-03-19 09:28:06 +00:00
committed by GitHub
parent f4de00cbca
commit a6d6eecf22
2 changed files with 66 additions and 30 deletions

16
ci/linux_x64 Normal file
View File

@@ -0,0 +1,16 @@
FROM ubuntu:18.04
RUN apt update \
&& apt install -y software-properties-common \
&& add-apt-repository ppa:ubuntu-toolchain-r/test \
&& apt update \
&& apt install --no-install-recommends -y sudo cmake ninja-build git \
&& apt install --no-install-recommends -y g++-8 \
&& apt install --no-install-recommends -y clang++-7 \
&& apt install --no-install-recommends -y clang++-8 \
&& apt install --no-install-recommends -y clang++-9 \
&& apt install --no-install-recommends -y clang-format-9 clang-tidy-9 \
&& update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-9 100 \
&& apt remove -y software-properties-common \
&& apt -y autoremove \
&& apt -y clean