Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3012463
D9464.id31963.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D9464.id31963.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 20, 3:20 AM (21 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2328261
Default Alt Text
D9464.id31963.diff (1 KB)
Attached To
Mode
D9464: [CI] Clear unused NDKs from Android GitHub CI jobs before proceeding
Attached
Detach File
Event Timeline
Log In to Comment