From 8339598f078a4a9da3312a549c4411e55a255aea Mon Sep 17 00:00:00 2001 From: Valentine Burley Date: Mon, 7 Apr 2025 10:56:59 +0200 Subject: [PATCH] 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 Part-of: --- .gitlab-ci/container/debian/x86_64_test-android.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci/container/debian/x86_64_test-android.sh b/.gitlab-ci/container/debian/x86_64_test-android.sh index ffc71e235ef..78752f35013 100755 --- a/.gitlab-ci/container/debian/x86_64_test-android.sh +++ b/.gitlab-ci/container/debian/x86_64_test-android.sh @@ -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