mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
From DavidCimo/droiddeck-mali, branch mali-venus @ 4f838891 (prototype 13; his 12 commits on top of DroidDeck 0.3.1, GPL-3.0), by David Cimo: - tools/venus: Mesa Venus vtest patch (incl. the per-queue submit_mutex fix and the cached-memory frame readback), virglrenderer Android patch, the Mali compatibility layer (the six features DXVK needs: fill modes, multi-viewport, robustness2, clip/cull distance, BC1-BC7) and his tools. - tools/linuxfs/preload/venus.c: keeps Zink's kopper under Venus. - tools/gamescope/patches/0127 (his 0114): shm buffers uploaded on every commit. - docs/development/mali-venus.md: his design notes. - tools/venus/ci-build.sh and build-venus.yml: his build recipes as one CI job that packs the component (vtest server, ICD, layer) as venus.tzst for the apk. Co-authored-by: Dersim Abbas <derabb0620@gmail.com>
32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
name: Build Venus (Mali)
|
|
# The Mali (Venus) route's binaries from tools/venus (David Cimo's recipes): Mesa's Venus ICD and the
|
|
# Mali compatibility layer (glibc, for the session) and virglrenderer's vtest server (bionic, run by
|
|
# the app over the phone's own Vulkan driver), packed as venus.tzst rooted at app/src/main. The apk
|
|
# build fetches it by tools/venus/release.env (tag + sha256); nothing compiled is kept in this repo.
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [test/non-adreno-all]
|
|
paths: ['tools/venus/**', '.github/workflows/build-venus.yml']
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 120
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Tools
|
|
run: |
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -y -qq ninja-build pkg-config zstd python3-pip
|
|
pip3 install --break-system-packages 'meson>=1.5'
|
|
- name: Build
|
|
run: ANDROID_NDK_HOME="$ANDROID_NDK_LATEST_HOME" WORK=$PWD/venus-work tools/venus/ci-build.sh
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: venus
|
|
path: |
|
|
venus-work/venus.tzst
|
|
venus-work/venus.tzst.sha256
|