ci/android: Add build section for uninstalling build software

This was missing compared to the test-gl and test-vk containers.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34405>
This commit is contained in:
Valentine Burley
2025-04-07 10:56:59 +02:00
committed by Marge Bot
parent f9b6403d46
commit 8339598f07
@@ -171,6 +171,8 @@ section_end android-cts
############### Uninstall the build software
uncollapsed_section_switch debian_cleanup "Cleaning up base Debian system"
rm -rf "/${ndk:?}"
export SUDO_FORCE_REMOVE=yes
@@ -178,6 +180,8 @@ apt-get purge -y "${EPHEMERAL[@]}"
. .gitlab-ci/container/container_post_build.sh
section_end debian_cleanup
############### Remove unused packages
. .gitlab-ci/container/strip-rootfs.sh