Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging runner size #1662

Closed
wants to merge 2 commits into from
Closed
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
17 changes: 17 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -498,10 +498,24 @@ jobs:
needs.check-cache.outputs.android-test-sync-apk-cache-hit != 'true')

steps:
- name: Machine disk space
run: df -h

- name: Checkout code
uses: actions/checkout@v3
with:
submodules: "recursive"

- name: Size before build
run: du -sh .

- name: Remove unnecessary files
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"

- name: Size before build after cleanup
run: du -sh .

- name: Setup Java 11
uses: actions/setup-java@v3
Expand Down Expand Up @@ -571,6 +585,9 @@ jobs:
working-directory: packages
run: ./gradlew :test-base:assembleAndroidTest -Prealm.kotlin.buildRealmCore=false -Prealm.kotlin.mainHost=false

- name: Size afte Base Test Apk
run: du -sh .

- name: Build Android Sync Test Apk
working-directory: packages
run: ./gradlew :test-sync:packageDebug :test-sync:assembleAndroidTest -Prealm.kotlin.buildRealmCore=false -Prealm.kotlin.mainHost=false
Expand Down
Loading