Change Debian 10 CI config to use GCC

This commit is contained in:
Jon Siwek 2020-11-09 16:29:27 -08:00
parent 721b232d94
commit 04a02d979f

View file

@ -23,14 +23,8 @@ RUN apt-get update && apt-get -y install \
curl \ curl \
wget \ wget \
xz-utils \ xz-utils \
clang \
libc++-7-dev \
libc++abi-7-dev \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++ 100
# Many distros adhere to PEP 394's recommendation for `python` = `python2` so # Many distros adhere to PEP 394's recommendation for `python` = `python2` so
# this is a simple workaround until we drop Python 2 support and explicitly # this is a simple workaround until we drop Python 2 support and explicitly
# use `python3` for all invocations (e.g. in shebangs). # use `python3` for all invocations (e.g. in shebangs).
@ -38,5 +32,3 @@ RUN ln -sf /usr/bin/python3 /usr/local/bin/python
RUN ln -sf /usr/bin/pip3 /usr/local/bin/pip RUN ln -sf /usr/bin/pip3 /usr/local/bin/pip
RUN pip install junit2html RUN pip install junit2html
ENV CXXFLAGS=-stdlib=libc++