forked from PojavLauncherTeam/panfork_offscreen_rootless
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changes for pojav
- Loading branch information
Showing
8 changed files
with
90 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: Build Android | ||
|
||
on: | ||
[push, pull_request] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
arch: [ "arm32", "aarch64" ] | ||
fail-fast: false | ||
|
||
name: "Build for ${{matrix.arch}}" | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Build | ||
run: | | ||
sudo apt update | ||
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 <android-drm-${{matrix.arch}} >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 <android-${{matrix.arch}} >build-crossfile | ||
meson setup "build-android" \ | ||
--prefix=/tmp/pan \ | ||
-Dtools=panfrost \ | ||
--cross-file "build-crossfile" \ | ||
-Dplatforms=android \ | ||
-Dplatform-sdk-version=26 \ | ||
-Dandroid-stub=true \ | ||
-Dllvm=disabled \ | ||
-Dxlib-lease=disabled \ | ||
-Degl=disabled \ | ||
-Dgbm=disabled \ | ||
-Dglx=disabled \ | ||
-Dopengl=true \ | ||
-Dosmesa=true \ | ||
-Dvulkan-drivers= \ | ||
-Dgallium-drivers=swrast,panfrost \ | ||
-Dshared-glapi=false \ | ||
-Dbuildtype=debug \ | ||
-Dandroid-libbacktrace=disabled | ||
ninja -C "build-android" install | ||
- name: Upload libraries | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: panfrost_${{matrix.arch}} | ||
path: /tmp/pan |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters