Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3009791
D13249.id43900.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
D13249.id43900.diff
View Options
diff --git a/.github/workflows/ios_ci.yml b/.github/workflows/ios_ci.yml
--- a/.github/workflows/ios_ci.yml
+++ b/.github/workflows/ios_ci.yml
@@ -21,6 +21,21 @@
- name: Checkout
uses: actions/checkout@v3
+ - 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: Delete all iOS simulators
+ run: xcrun simctl delete all
+
+ - name: Delete iOS simulator caches
+ run: sudo rm -rf ~/Library/Developer/CoreSimulator/Caches/*
+
- name: Install Developer certificate
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
diff --git a/.github/workflows/ios_release.yml b/.github/workflows/ios_release.yml
--- a/.github/workflows/ios_release.yml
+++ b/.github/workflows/ios_release.yml
@@ -14,6 +14,21 @@
- name: Checkout
uses: actions/checkout@v3
+ - 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: Delete all iOS simulators
+ run: xcrun simctl delete all
+
+ - name: Delete iOS simulator caches
+ run: sudo rm -rf ~/Library/Developer/CoreSimulator/Caches/*
+
- name: Install Developer certificate
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 19, 11:43 PM (22 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2326908
Default Alt Text
D13249.id43900.diff (1 KB)
Attached To
Mode
D13249: [GitHub CI] Clear unused NDKs and iOS simulator to fix iOS CI
Attached
Detach File
Event Timeline
Log In to Comment