gitlab-ci: Use clang 8 instead of 7

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
Michel Dänzer
2019-04-05 10:36:29 +02:00
committed by Michel Dänzer
parent 979df83940
commit 3fca2b760c
2 changed files with 4 additions and 3 deletions

View File

@@ -147,8 +147,8 @@ meson-clang:
UNWIND: "true"
DRI_DRIVERS: "auto"
GALLIUM_DRIVERS: "auto"
CC: "ccache clang-7"
CXX: "ccache clang++-7"
CC: "ccache clang-8"
CXX: "ccache clang++-8"
before_script:
- export CCACHE_BASEDIR="$PWD" CCACHE_DIR="$PWD/ccache"
- ccache --zero-stats --show-stats || true

View File

@@ -15,6 +15,7 @@ apt-get install -y \
curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
add-apt-repository "deb https://apt.llvm.org/stretch/ llvm-toolchain-stretch-7 main"
add-apt-repository "deb https://apt.llvm.org/stretch/ llvm-toolchain-stretch-8 main"
sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
echo 'deb https://deb.debian.org/debian stretch-backports main' >/etc/apt/sources.list.d/backports.list
@@ -31,7 +32,7 @@ apt-get install -y -t stretch-backports \
clang-6.0 \
libclang-6.0-dev \
g++ \
clang-7 \
clang-8 \
libclang-7-dev
# Install remaining packages from Debian buster to get newer versions