From f2a594f384aee8217c5a5fd7f5378c0cc72cc9ed Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 18 Nov 2019 09:23:18 +0100 Subject: [PATCH] gitlab-ci: add a new job that builds a base test image for VK MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Samuel Pitoiset Reviewed-by: Michel Dänzer --- .gitlab-ci.yml | 6 +++ .gitlab-ci/container/x86_test-vk.sh | 70 +++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 .gitlab-ci/container/x86_test-vk.sh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9aea544a87b..70a440cd5b6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -111,6 +111,12 @@ x86_test-gl: variables: DEBIAN_TAG: &x86_test-gl "2019-12-05" +# Debian 10 based x86 test image for VK +x86_test-vk: + extends: x86_build + variables: + DEBIAN_TAG: &x86_test-vk "2019-11-22" + # Debian 9 based x86 build image (old LLVM) x86_build_old: extends: x86_build diff --git a/.gitlab-ci/container/x86_test-vk.sh b/.gitlab-ci/container/x86_test-vk.sh new file mode 100644 index 00000000000..533d804d07e --- /dev/null +++ b/.gitlab-ci/container/x86_test-vk.sh @@ -0,0 +1,70 @@ +#!/bin/bash + +set -e +set -o xtrace + +export DEBIAN_FRONTEND=noninteractive + +apt-get install -y ca-certificates + +sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list +echo 'deb https://deb.debian.org/debian buster-backports main' >/etc/apt/sources.list.d/backports.list + +apt-get update + +# Use newer packages from backports by default +cat >/etc/apt/preferences <