ci: move linux_x64 to Ubuntu 20.04 LTS

This brings us clang 10 and its understanding of C++20 as a standard (rather
than it being called c++2a in earlier versions).

Ubuntu folded together clang-N and clang++-N into the former, so adjust the
names of packages to be installed.
This commit is contained in:
Nathaniel Filardo
2021-04-21 14:27:29 +01:00
committed by Nathaniel Wesley Filardo
parent 8390a70a48
commit a949e37602

View File

@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:20.04
RUN apt update \
&& apt install -y software-properties-common \
@@ -6,9 +6,10 @@ RUN apt update \
&& 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-7 \
&& apt install --no-install-recommends -y clang-8 \
&& apt install --no-install-recommends -y clang-9 \
&& apt install --no-install-recommends -y clang-10 \
&& 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 \