mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
feat(android): add task to build Android wheels for Chaquopy and update CI workflows to remove ffmpeg dependency
This commit is contained in:
parent
a6764d3d38
commit
69b02a2a86
3 changed files with 15 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
run: |
|
||||
sh scripts/ci/exec-priv.sh dpkg --add-architecture i386
|
||||
sh scripts/ci/exec-priv.sh apt-get update
|
||||
sh scripts/ci/exec-priv.sh apt-get install -y patchelf libopusfile0 ffmpeg espeak-ng zip rpm elfutils appstream appstream-util
|
||||
sh scripts/ci/exec-priv.sh apt-get install -y patchelf libopusfile0 espeak-ng zip rpm elfutils appstream appstream-util
|
||||
|
||||
- name: Setup Task
|
||||
run: sh scripts/ci/setup-task.sh
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ jobs:
|
|||
run: |
|
||||
sh scripts/ci/exec-priv.sh dpkg --add-architecture i386
|
||||
sh scripts/ci/exec-priv.sh apt-get update
|
||||
sh scripts/ci/exec-priv.sh apt-get install -y patchelf libopusfile0 ffmpeg espeak-ng zip rpm elfutils
|
||||
sh scripts/ci/exec-priv.sh apt-get install -y patchelf libopusfile0 espeak-ng zip rpm elfutils
|
||||
|
||||
- name: Setup Task
|
||||
run: sh scripts/ci/setup-task.sh
|
||||
|
|
|
|||
13
Taskfile.yml
13
Taskfile.yml
|
|
@ -477,6 +477,19 @@ tasks:
|
|||
cp -r meshchatx "{{.PYTHON_SRC_DIR}}/"
|
||||
echo "MeshChatX Python sources staged. Dependency installation is handled by Chaquopy in android/app/build.gradle."
|
||||
|
||||
android:wheels:
|
||||
desc: Build the Android (Chaquopy) wheels into android/vendor/. Mirrors CI.
|
||||
vars:
|
||||
ANDROID_WHEEL_PYTHON: '{{.ANDROID_WHEEL_PYTHON | default "3.11"}}'
|
||||
ANDROID_WHEEL_ABIS: '{{.ANDROID_WHEEL_ABIS | default "arm64-v8a,x86_64,armeabi-v7a"}}'
|
||||
ANDROID_WHEEL_CHAQUOPY_REF: '{{.ANDROID_WHEEL_CHAQUOPY_REF | default "9f563f45108a873d7feb363e1f754c0173f1114e"}}'
|
||||
cmds:
|
||||
- |
|
||||
bash scripts/build-android-wheels-local.sh \
|
||||
--python-minor "{{.ANDROID_WHEEL_PYTHON}}" \
|
||||
--chaquopy-ref "{{.ANDROID_WHEEL_CHAQUOPY_REF}}" \
|
||||
--abis "{{.ANDROID_WHEEL_ABIS}}"
|
||||
|
||||
android:build:
|
||||
desc: Build Debug APK
|
||||
deps: [android:prepare]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue