ci: Run GDC build with GDC 10 by default

This commit is contained in:
Matthias Klumpp 2020-02-21 01:31:01 +01:00
parent 9a4ffada8c
commit ab63538509
2 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,7 @@ FROM debian:testing
RUN apt-get update -qq
# install build essentials
RUN apt-get install -yq git gcc gdc ldc
RUN apt-get install -yq git gcc gdc ldc gdc-10
# install dependencies used by both appstream and appstream-generator
RUN apt-get install -yq --no-install-recommends \

View File

@ -6,6 +6,11 @@
set -e
export LANG=C.UTF-8
if [ "$DC" == "gdc" ]
then
export DC="gdc-10"
fi
echo "D compiler: $DC"
set -v
$DC --version