Skip to content

Commit d9ba4f9

Browse files
committed
Testing: adjust Android Emulator GitHub action to free up unused disk space
1 parent 9cab842 commit d9ba4f9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/android_gradle.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ jobs:
1717
- name: Clone wolfcrypt-jni
1818
uses: actions/checkout@v4
1919

20+
# Free up disk space to prevent emulator from failing
21+
- name: Free up disk space
22+
run: |
23+
sudo rm -rf /usr/share/dotnet
24+
sudo rm -rf /usr/local/lib/android/sdk/ndk
25+
sudo rm -rf /opt/ghc
26+
sudo rm -rf /opt/hostedtoolcache/CodeQL
27+
sudo docker image prune --all --force
28+
df -h
29+
2030
# Clone native wolfSSL
2131
- name: Clone native wolfSSL
2232
uses: actions/checkout@v4

0 commit comments

Comments
 (0)