-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Free up space to fix flaky emulator start in CI
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,19 @@ jobs: | |
api-level: [ 28 ] | ||
|
||
steps: | ||
# From https://github.com/android/nowinandroid/pull/1219/files to fix flaky emulator start | ||
# See https://github.com/ReactiveCircus/android-emulator-runner/issues/324#issuecomment-1998737488 | ||
- name: Delete unnecessary tools 🔧 | ||
uses: jlumbroso/[email protected] | ||
with: | ||
android: false # Keep Don't remove Android tools | ||
tool-cache: true # Remove image tool cache - rm -rf "$AGENT_TOOLSDIRECTORY" | ||
dotnet: true # rm -rf /usr/share/dotnet | ||
haskell: true # rm -rf /opt/ghc... | ||
swap-storage: true # rm -f /mnt/swapfile (4GiB) | ||
docker-images: false # Takes 16s (`nowinandroid`), enable if needed in the future | ||
large-packages: false # includes google-cloud-sdk and it's slow | ||
|
||
- name: Checkout commit | ||
uses: actions/checkout@v3 | ||
|
||
|