ci: only install piglit dependencies when installing piglit

Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9032>
This commit is contained in:
Andres Gomez 2021-02-12 23:34:44 +02:00 committed by Marge Bot
parent eba962dda4
commit 5ddabe00c5
3 changed files with 17 additions and 19 deletions

View file

@ -448,7 +448,7 @@ arm64_test:
extends:
- .use-arm_test-base
variables:
MESA_IMAGE_TAG: &arm64_test "2021-02-17-remove-pytest"
MESA_IMAGE_TAG: &arm64_test "2021-02-17-piglit-dependencies"
.use-arm64_test:
extends:
@ -465,7 +465,7 @@ armhf_test:
extends:
- .use-arm_test-base
variables:
MESA_IMAGE_TAG: &armhf_test "2021-02-17-remove-pytest"
MESA_IMAGE_TAG: &armhf_test "2021-02-17-piglit-dependencies"
.use-armhf_test:
extends:

View file

@ -18,12 +18,25 @@ elif [ $DEBIAN_ARCH = amd64 ]; then
fi
if [ -n "$INCLUDE_PIGLIT" ]; then
PIGLIT_PACKAGES="libwaffle-1-0
PIGLIT_PACKAGES="libpython3.7
libwaffle-1-0
libx11-6
libx11-xcb1
libxcb-glx0
libxcb-shm0
libxdamage1
libxext6
libxfixes3
libxkbcommon0
libxxf86vm1
python3
python3-lxml
python3-mako
python3-numpy
python3-pil
python3-requests
python3-simplejson
python3-yaml
"
INSTALL_CI_FAIRY_PACKAGES="git
python3-dev
@ -44,31 +57,16 @@ apt-get -y install --no-install-recommends \
initramfs-tools \
libexpat1 \
libpng16-16 \
libpython3.7 \
libsensors5 \
libvulkan1 \
libwaffle-1-0 \
libx11-6 \
libx11-xcb1 \
libxcb-dri2-0 \
libxcb-dri3-0 \
libxcb-glx0 \
libxcb-present0 \
libxcb-randr0 \
libxcb-shm0 \
libxcb-sync1 \
libxcb-xfixes0 \
libxdamage1 \
libxext6 \
libxfixes3 \
libxkbcommon0 \
libxshmfence1 \
libxxf86vm1 \
netcat-openbsd \
python3 \
python3-pil \
python3-requests \
python3-yaml \
sntp \
strace \
wget \

View file

@ -1,5 +1,5 @@
variables:
MESA_LAVA_TAG: "2020-02-17-remove-pytest"
MESA_LAVA_TAG: "2020-02-17-piglit-dependencies"
.kernel+rootfs:
stage: container-2