ci(release): rename the diagnostic steps of the Android build
"Free space" no longer described them: the pre-build step now also prints memory and the size of the persistent Gradle/Android caches, and the failure step reports disk, memory and OOM kills. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
633a8f79af
commit
bf3c00ca71
1 file changed
+6
-3
@@ -84,8 +84,11 @@ jobs:
|
|||||||
with: { node-version: "${{ env.NODE_VERSION }}", cache: pnpm }
|
with: { node-version: "${{ env.NODE_VERSION }}", cache: pnpm }
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Свободное место
|
# Диск, память и наполненность постоянных кэшей: пустые ~/.gradle и ~/.android значат, что тома не подключились
|
||||||
run: df -h / /tmp
|
- name: Ресурсы раннера и кэши
|
||||||
|
run: |
|
||||||
|
df -h / /tmp; free -m
|
||||||
|
du -sh ~/.gradle ~/.android 2>/dev/null || true
|
||||||
|
|
||||||
- name: Сборка APK
|
- name: Сборка APK
|
||||||
working-directory: apps/mobile
|
working-directory: apps/mobile
|
||||||
@@ -102,7 +105,7 @@ jobs:
|
|||||||
cd android
|
cd android
|
||||||
./gradlew --no-daemon --max-workers=2 assembleRelease -PreactNativeArchitectures=arm64-v8a -Pkotlin.compiler.execution.strategy=in-process -Dorg.gradle.jvmargs="-Xmx2560m -XX:MaxMetaspaceSize=512m" --build-cache
|
./gradlew --no-daemon --max-workers=2 assembleRelease -PreactNativeArchitectures=arm64-v8a -Pkotlin.compiler.execution.strategy=in-process -Dorg.gradle.jvmargs="-Xmx2560m -XX:MaxMetaspaceSize=512m" --build-cache
|
||||||
|
|
||||||
- name: Свободное место после сбоя
|
- name: Диагностика сбоя (диск, память, OOM)
|
||||||
if: failure()
|
if: failure()
|
||||||
run: |
|
run: |
|
||||||
df -h / /tmp; free -m || true
|
df -h / /tmp; free -m || true
|
||||||
|
|||||||
Reference in new issue
Block a user