ci: Build ANGLE for Android and enable a new Android job
Rework the build-angle.sh
script to allow specifying the build target, and enable the Android platform for ANGLE.
The script is now called with the ANGLE_TARGET
and ANGLE_ARCH
variables to specify the target platform. Untangling ANGLE_ARCH
and DEBIAN_ARCH
was necessary, because we'll have to compile ANGLE for Android-arm64 on x86_64 for two reasons:
- There's no arm64 prebuilt NDK build available
- The ANGLE build system really prefers to be built on x86
The existing Linux-based ANGLE jobs all still work as expected, and this MR will allow us to enable our first new Android pre-merge job: android-angle-lavapipe
. I've stress tested this job 10 times, and it takes about 4-6 minutes. I've only compile tested the arm64 build, but it produces arm64 libraries.
Also included are a fix for radv-stoney-angle-full
and a couple of minor optimizations to reduce the number of times we build deqp.
Based on work by @ao2.