Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ jobs:
- run: npm run build
- name: Build and lint aBridge Android
run: apps/android/gradlew -p apps/android --no-daemon assembleDebug assembleRelease lintDebug testDebugUnitTest
- name: Build and lint AI Home Android
run: apps/controller/gradlew -p apps/controller --no-daemon assembleDebug assembleRelease lintDebug testDebugUnitTest
- name: "Verify signed APK sizes (aBridge: 300,000 B; AI Home: 2,000,000 B)"
- name: "Verify signed APK size (300,000 B)"
run: |
work=$(mktemp -d)
trap 'rm -rf "$work"' EXIT
Expand All @@ -46,19 +44,11 @@ jobs:
export ANDROID_KEYSTORE_BASE64="$(openssl base64 -A -in "$work/check.keystore")"
export ANDROID_KEYSTORE_PASSWORD=sizecheck ANDROID_KEY_ALIAS=android ANDROID_KEY_PASSWORD=sizecheck
export ANDROID_APK_PYTHON="$work/python/bin/python"
bash tools/sign-android-release.sh abridge
bash tools/sign-android-release.sh aihome
bash tools/sign-android-release.sh
- name: Upload installable Debug APK
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: abridge-android-debug
path: apps/android/build/outputs/apk/debug/*.apk
if-no-files-found: error
retention-days: 14
- name: Upload installable AI Home Debug APK
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: aihome-android-debug
path: apps/controller/build/outputs/apk/debug/*.apk
if-no-files-found: error
retention-days: 14
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,10 @@ jobs:
run: |
npm --prefix apps/android/ui ci --legacy-peer-deps --no-audit --no-fund
apps/android/gradlew -p apps/android --no-daemon assembleRelease
apps/controller/gradlew -p apps/controller --no-daemon assembleRelease
python3 -m venv "$RUNNER_TEMP/android-apk-build"
"$RUNNER_TEMP/android-apk-build/bin/python" -m pip install -r tools/android-apk-requirements.txt
export ANDROID_APK_PYTHON="$RUNNER_TEMP/android-apk-build/bin/python"
bash tools/sign-android-release.sh abridge
bash tools/sign-android-release.sh aihome
bash tools/sign-android-release.sh
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
if: runner.os == 'Linux'
with:
Expand All @@ -102,7 +100,6 @@ jobs:
dist/releases/abridge-client-browser-*.tar.gz*
dist/releases/install-browser-client.sh*
dist/releases/aBridge-*-android.apk
dist/releases/AIHome-*-android.apk
if-no-files-found: error
retention-days: 14
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
Expand Down
4 changes: 0 additions & 4 deletions apps/controller/.gitignore

This file was deleted.

39 changes: 0 additions & 39 deletions apps/controller/README.md

This file was deleted.

29 changes: 0 additions & 29 deletions apps/controller/build.gradle

This file was deleted.

1 change: 0 additions & 1 deletion apps/controller/gradle.properties

This file was deleted.

Binary file removed apps/controller/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 0 additions & 7 deletions apps/controller/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

248 changes: 0 additions & 248 deletions apps/controller/gradlew

This file was deleted.

8 changes: 0 additions & 8 deletions apps/controller/settings.gradle

This file was deleted.

Loading
Loading