mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-04-27 02:05:42 +00:00
feat(android): add Bluetooth and USB permissions, implement JavaScript interfaces for Bluetooth and USB management, and enhance Android wheel verification in CI workflow
This commit is contained in:
@@ -117,6 +117,33 @@ jobs:
|
||||
- name: Build Android wheels
|
||||
run: bash scripts/build-android-wheels-local.sh --python-minor "${PYTHON_VERSION}" --chaquopy-ref "${CHAQUOPY_REF}" --abis arm64-v8a,x86_64,armeabi-v7a
|
||||
|
||||
- name: Verify required Android wheels are present
|
||||
run: |
|
||||
set -euo pipefail
|
||||
required=(
|
||||
"miniaudio-1.70-*-cp311-cp311-android_24_arm64_v8a.whl"
|
||||
"miniaudio-1.70-*-cp311-cp311-android_24_x86_64.whl"
|
||||
"miniaudio-1.70-*-cp311-cp311-android_24_armeabi_v7a.whl"
|
||||
"pycodec2-*-cp311-cp311-android_24_arm64_v8a.whl"
|
||||
"pycodec2-*-cp311-cp311-android_24_x86_64.whl"
|
||||
"pycodec2-*-cp311-cp311-android_24_armeabi_v7a.whl"
|
||||
"lxst-*-py3-none-any.whl"
|
||||
)
|
||||
missing=0
|
||||
for pattern in "${required[@]}"; do
|
||||
if ! ls android/vendor/${pattern} >/dev/null 2>&1; then
|
||||
echo "::error::Missing wheel matching android/vendor/${pattern}"
|
||||
missing=1
|
||||
fi
|
||||
done
|
||||
if [[ "${missing}" -ne 0 ]]; then
|
||||
echo "Built wheels:"
|
||||
ls -la android/vendor/ || true
|
||||
exit 1
|
||||
fi
|
||||
echo "All required Android wheels present:"
|
||||
ls -1 android/vendor/
|
||||
|
||||
- name: Run unit tests
|
||||
if: ${{ github.event_name != 'workflow_dispatch' || inputs.run_tests }}
|
||||
working-directory: android
|
||||
|
||||
Reference in New Issue
Block a user