Skip to content

Commit 6841907

Browse files
committed
Set AVD partition size
1 parent 4a197ee commit 6841907

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/scripts/android/android-emulator-tests.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ sdkmanager --install "emulator" "platform-tools" "platforms;android-${ANDROID_AP
109109
log "Creating Android emulator"
110110
avdmanager create avd --force -n "${EMULATOR_NAME}" --package "${EMULATOR_SPEC}" --device "${ANDROID_PROFILE}"
111111

112-
find "${ANDROID_AVD_HOME}" || true
113-
find "~/.android" || true
112+
find / -name 'swiftemu.avd'
114113

115114
ANDROID_AVD_CONFIG="${ANDROID_AVD_HOME}"/"${EMULATOR_NAME}".avd/config.ini
116115
mkdir -p "$(dirname ${ANDROID_AVD_CONFIG})"

.github/workflows/swift_package_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ jobs:
612612
# need to free space or the emulator runs out
613613
rm -rf /opt/microsoft /opt/google /opt/az /opt/ghc /usr/share/dotnet /usr/local/share/boost /opt/hostedtoolcache /usr/local/share/chromium
614614
# frees ~4G
615-
rm -rf /__t/PyPy /__t/Ruby /__t/go /__t/node /usr/bin/docc /__t/CodeQ /__t/Python
615+
rm -rf /__t/PyPy /__t/Ruby /__t/go /__t/node* /__t/CodeQL /__t/Python
616616
#echo "du top-level"
617617
#du -skhc / || true
618618
#echo "du second level"

0 commit comments

Comments
 (0)