ci/bare-metal: Don't include dev packages in arm*test.

We just need these to build our rootfs, clean them out afterwards.

Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5433>
This commit is contained in:
Eric Anholt 2020-06-10 14:17:23 -07:00 committed by Marge Bot
parent 9079b53987
commit acf9d8b75d
2 changed files with 7 additions and 2 deletions

View File

@ -305,7 +305,7 @@ arm64_test:
extends:
- .use-arm_test-base
variables:
FDO_DISTRIBUTION_TAG: &arm64_test "2020-06-22-stable"
FDO_DISTRIBUTION_TAG: &arm64_test "2020-06-22-ephemeral"
.use-arm64_test:
variables:

View File

@ -7,7 +7,7 @@ dpkg --add-architecture $arch
apt-get update
# Cross-build test deps
apt-get install -y --no-remove \
BAREMETAL_EPHEMERAL=" \
crossbuild-essential-$arch \
libdrm-dev:$arch \
libegl1-mesa-dev:$arch \
@ -21,6 +21,9 @@ apt-get install -y --no-remove \
libtinfo-dev:$arch \
libegl1-mesa-dev:$arch \
libvulkan-dev:$arch
"
apt-get install -y --no-remove $BAREMETAL_EPHEMERAL
mkdir /var/cache/apt/archives/$arch
@ -37,3 +40,5 @@ DEBIAN_ARCH=$arch INCLUDE_VK_CTS=1 . .gitlab-ci/container/lava_arm.sh
ccache --show-stats
. .gitlab-ci/container/container_post_build.sh
apt-get purge -y $BAREMETAL_EPHEMERAL