mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
ci/android: Build and use ANGLE
Signed-off-by: Valentine Burley <valentine.burley@collabora.com> Reviewed-by: Eric Engestrom <None> Reviewed-by: Antonio Ospite <None> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33377>
This commit is contained in:
parent
cc2bb73369
commit
0fc4aef848
4 changed files with 20 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
# When changing this file, you need to bump the following
|
||||
# .gitlab-ci/image-tags.yml tags:
|
||||
# DEBIAN_TEST_ANDROID_TAG
|
||||
# KERNEL_ROOTFS_TAG
|
||||
|
||||
set -uex
|
||||
|
|
|
|||
|
|
@ -46,6 +46,13 @@ curl -L --retry 4 -f --retry-all-errors --retry-delay 60 \
|
|||
unzip -d / "$ndk.zip"
|
||||
rm "$ndk.zip"
|
||||
|
||||
############### Build ANGLE
|
||||
|
||||
ANGLE_TARGET=android \
|
||||
ANGLE_ARCH=x64 \
|
||||
DEBIAN_ARCH=amd64 \
|
||||
. .gitlab-ci/container/build-angle.sh
|
||||
|
||||
############### Build dEQP runner
|
||||
|
||||
export ANDROID_NDK_HOME=/$ndk
|
||||
|
|
|
|||
|
|
@ -148,6 +148,17 @@ $ADB shell rm -f /vendor/lib64/egl/libEGL_emulation.so
|
|||
$ADB shell rm -f /vendor/lib64/egl/libGLESv1_CM_emulation.so
|
||||
$ADB shell rm -f /vendor/lib64/egl/libGLESv2_emulation.so
|
||||
|
||||
# Remove built-in ANGLE, we'll supply our own if needed
|
||||
$ADB shell rm -f /vendor/lib64/egl/libEGL_angle.so
|
||||
$ADB shell rm -f /vendor/lib64/egl/libGLESv1_CM_angle.so
|
||||
$ADB shell rm -f /vendor/lib64/egl/libGLESv2_angle.so
|
||||
|
||||
if [ -n "$USE_ANGLE" ]; then
|
||||
$ADB push /angle/libEGL_angle.so /vendor/lib64/egl/libEGL_angle.so
|
||||
$ADB push /angle/libGLESv1_CM_angle.so /vendor/lib64/egl/libGLESv1_CM_angle.so
|
||||
$ADB push /angle/libGLESv2_angle.so /vendor/lib64/egl/libGLESv2_angle.so
|
||||
fi
|
||||
|
||||
# Check what GLES implementation Surfaceflinger is using before copying the new mesa libraries
|
||||
while [ "$($ADB shell dumpsys SurfaceFlinger | grep GLES:)" = "" ] ; do sleep 1; done
|
||||
$ADB shell dumpsys SurfaceFlinger | grep GLES
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ variables:
|
|||
DEBIAN_ARM64_TEST_IMAGE_VK_PATH: "debian/arm64_test-vk"
|
||||
DEBIAN_X86_64_TEST_ANDROID_IMAGE_PATH: "debian/x86_64_test-android"
|
||||
|
||||
DEBIAN_TEST_ANDROID_TAG: "20250204-fix-deqp"
|
||||
DEBIAN_TEST_ANDROID_TAG: "20250204-droid-angle"
|
||||
DEBIAN_TEST_GL_TAG: "20250204-fix-deqp"
|
||||
DEBIAN_TEST_VK_TAG: "20250204-fix-deqp"
|
||||
KERNEL_ROOTFS_TAG: "20250204-prep-angle"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue