Telegram sync performance pass + AC4 codec support #1063
This file contains hidden or 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
| name: Build Phone APK (Debug) | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| branches: [ master ] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-phone: | |
| if: github.actor != 'dependabot[bot]' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: '21' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v6 | |
| - name: Build Phone debug APK | |
| run: gradle :app:assembleDebug -Ppixelplay.enableAbiSplits=true | |
| - name: Verify Phone split APKs | |
| run: | | |
| BUILD_TOOLS_VERSION="$(ls "$ANDROID_HOME/build-tools" | sort -V | tail -n 1)" | |
| for apk in \ | |
| app/build/outputs/apk/debug/app-arm64-v8a-debug.apk \ | |
| app/build/outputs/apk/debug/app-armeabi-v7a-debug.apk | |
| do | |
| "$ANDROID_HOME/build-tools/$BUILD_TOOLS_VERSION/aapt2" dump badging "$apk" >/dev/null | |
| "$ANDROID_HOME/build-tools/$BUILD_TOOLS_VERSION/apksigner" verify --verbose "$apk" | |
| done | |
| - name: Upload Phone split APK artifacts | |
| uses: actions/upload-artifact@v7.0.1 | |
| with: | |
| name: PixelPlay-phone-debug-split-apks | |
| path: | | |
| app/build/outputs/apk/debug/app-arm64-v8a-debug.apk | |
| app/build/outputs/apk/debug/app-armeabi-v7a-debug.apk | |
| if-no-files-found: error | |
| compression-level: 0 |