Page MenuHomePhabricator

D9464.diff
No OneTemporary

D9464.diff

diff --git a/.github/workflows/android_ci.yml b/.github/workflows/android_ci.yml
--- a/.github/workflows/android_ci.yml
+++ b/.github/workflows/android_ci.yml
@@ -23,6 +23,15 @@
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
+ - name: Clear unused NDKs
+ run: |
+ ls -1 "$ANDROID_SDK_ROOT/ndk" |
+ awk '{
+ if (system("git grep " $0 " > /dev/null")) {
+ system("rm -rf '"$ANDROID_SDK_ROOT/ndk/"'" $0);
+ }
+ }'
+
- name: rustup target add aarch64-linux-android arm-linux-androideabi x86_64-linux-android
run: rustup target add aarch64-linux-android arm-linux-androideabi x86_64-linux-android
diff --git a/.github/workflows/android_release.yml b/.github/workflows/android_release.yml
--- a/.github/workflows/android_release.yml
+++ b/.github/workflows/android_release.yml
@@ -18,6 +18,15 @@
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
+ - name: Clear unused NDKs
+ run: |
+ ls -1 "$ANDROID_SDK_ROOT/ndk" |
+ awk '{
+ if (system("git grep " $0 " > /dev/null")) {
+ system("rm -rf '"$ANDROID_SDK_ROOT/ndk/"'" $0);
+ }
+ }'
+
- name: rustup target add aarch64-linux-android arm-linux-androideabi x86_64-linux-android
run: rustup target add aarch64-linux-android arm-linux-androideabi x86_64-linux-android

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 20, 1:33 AM (22 h, 50 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2328261
Default Alt Text
D9464.diff (1 KB)

Event Timeline