aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/container/x86_test-vk.sh
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci/container/x86_test-vk.sh')
-rw-r--r--.gitlab-ci/container/x86_test-vk.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/.gitlab-ci/container/x86_test-vk.sh b/.gitlab-ci/container/x86_test-vk.sh
index c88199b42bf..455506d2972 100644
--- a/.gitlab-ci/container/x86_test-vk.sh
+++ b/.gitlab-ci/container/x86_test-vk.sh
@@ -14,10 +14,17 @@ apt-key add .gitlab-ci/container/llvm-snapshot.gpg.key
echo "deb https://apt.llvm.org/buster/ llvm-toolchain-buster-9 main" >/etc/apt/sources.list.d/llvm9.list
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
+echo 'deb https://deb.debian.org/debian testing main' >/etc/apt/sources.list.d/testing.list
apt-get update
+# Don't use newer packages from testing by default
+cat >/etc/apt/preferences <<EOF
+Package: *
+Pin: release a=testing
+Pin-Priority: 100
+EOF
+
apt-get dist-upgrade -y
apt-get install -y --no-remove \
@@ -74,6 +81,11 @@ apt-get install -y --no-remove \
wine32 \
wine64
+# Install packages we need from Debian testing last, to avoid pulling in more
+apt-get install -y -t testing \
+ libc6-dev
+
+
############### Set up Wine env variables
export WINEDEBUG="-all"