diff --git a/.github/workflows/turnip.yml b/.github/workflows/turnip.yml index 19da7e78459..1369d856aff 100644 --- a/.github/workflows/turnip.yml +++ b/.github/workflows/turnip.yml @@ -24,6 +24,23 @@ jobs: sudo apt install -y meson libxrandr-dev libxxf86vm-dev libxcb-*-dev libx11-xcb-dev libxfixes-dev libdrm-dev libx11-dev pip3 install mako export ANDROID_NDK_HOME="$ANDROID_SDK_ROOT/ndk-bundle" + envsubst build-crossfile-drm + git clone --depth 1 https://gitlab.freedesktop.org/mesa/drm.git + cd drm + meson setup "build-android" \ + --prefix=/tmp/drm-static \ + --cross-file "../build-crossfile-drm" \ + -Ddefault_library=static \ + -Dintel=disabled \ + -Dradeon=disabled \ + -Damdgpu=disabled \ + -Dnouveau=disabled \ + -Dvmwgfx=disabled \ + -Dfreedreno=disabled \ + -Dvc4=disabled \ + -Detnaviv=disabled + ninja -C "build-android" install + cd .. envsubst build-crossfile-turnip meson build-android-${{matrix.arch}} --cross-file "build-crossfile-turnip" \ -Dbuildtype=release \