From 9aceaaa2003eed6c9140285f4633e5c4e056332f Mon Sep 17 00:00:00 2001 From: kalarina Date: Sun, 25 Oct 2026 12:41:25 +0200 Subject: [PATCH] CI: report the size of the packaged baseline profile --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22fc3cb..7708869 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 ';' -)