Add a Swappy installation script for easier Android builds

Run `python misc/scripts/install_swappy_android.py` and Swappy
libraries will automatically be installed to the correct location.

Run the script again when needed to update to the latest version.
This commit is contained in:
Hugo Locurcio
2025-07-16 18:11:49 +02:00
parent 79603b2f28
commit 683f0c0714
3 changed files with 61 additions and 16 deletions

View File

@@ -58,16 +58,8 @@ jobs:
- name: Setup Python and SCons
uses: ./.github/actions/godot-deps
- name: Download pre-built Android Swappy Frame Pacing Library
uses: dsaltares/fetch-gh-release-asset@1.1.2
with:
repo: godotengine/godot-swappy
version: tags/from-source-2025-01-31
file: godot-swappy.7z
target: swappy/godot-swappy.7z
- name: Extract pre-built Android Swappy Frame Pacing Library
run: 7za x -y swappy/godot-swappy.7z -o${{github.workspace}}/thirdparty/swappy-frame-pacing
- name: Download Swappy
run: python ./misc/scripts/install_swappy_android.py
- name: Compilation
uses: ./.github/actions/godot-build