CI: report the size of the packaged baseline profile

This commit is contained in:
2026-10-25 13:39:11 +02:00
parent 9e744b309e
commit 9aceaaa200
+2
View File
@@ -36,6 +36,8 @@ jobs:
run: |
apk=$(ls app/build/outputs/apk/release/*.apk | head -n 1)
echo "::notice title=Release APK::$(stat -c %s "$apk") bytes ($(basename "$apk"))"
prof=$(unzip -l "$apk" assets/dexopt/baseline.prof | awk '/baseline.prof/ {print $1}')
echo "::notice title=Baseline profile in APK::${prof:-missing} bytes"
deps=$(./gradlew -q :app:dependencies --configuration releaseRuntimeClasspath \
| grep -oE '(androidx\.lifecycle:lifecycle-runtime-compose|androidx\.profileinstaller:profileinstaller|com\.squareup\.okhttp3:okhttp):[^ ]+( -> [^ ]+)?' \
| sort -u | paste -sd ';' -)