ci/android: Add section for downloading Android CTS
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34320>
This commit is contained in:
Valentine Burley 2025-04-01 13:32:06 +02:00 committed by Marge Bot
parent 9d11a8304e
commit 9f9233c033

View file

@ -130,16 +130,18 @@ git checkout FETCH_HEAD
apt-get install -y --allow-downgrades ./cuttlefish-base_*.deb ./cuttlefish-user_*.deb
section_end cuttlefish
popd
rm -rf android-cuttlefish
addgroup --system kvm
usermod -a -G kvm,cvdnetwork root
section_end cuttlefish
############### Downloading Android CTS tools
uncollapsed_section_start android-cts "Downloading Android CTS tools"
ANDROID_CTS_VERSION="${ANDROID_VERSION}_r1"
ANDROID_CTS_DEVICE_ARCH="x86"
@ -165,6 +167,8 @@ mv "android-$ANDROID_VERSION" build-tools
popd
section_end android-cts
############### Uninstall the build software
rm -rf "/${ndk:?}"