1414 - name : Typecheck files
1515 run : yarn typecheck
1616
17- test- ios :
17+ ios :
1818 runs-on : macos-latest
1919 steps :
2020 - name : Checkout
5656 run : |
5757 ./scripts/test-ios.sh
5858
59- test- ios-embedded :
59+ ios-embedded :
6060 runs-on : macos-latest
6161 steps :
6262 - name : Checkout
9898 run : |
9999 ./scripts/test-ios.sh
100100
101- test- ios-sqlcipher :
101+ ios-sqlcipher :
102102 runs-on : macos-latest
103103 steps :
104104 - name : Checkout
@@ -140,7 +140,7 @@ jobs:
140140 run : |
141141 ./scripts/test-ios.sh
142142
143- test- ios-libsql :
143+ ios-libsql :
144144 runs-on : macos-latest
145145 steps :
146146 - name : Checkout
@@ -182,25 +182,25 @@ jobs:
182182 run : |
183183 ./scripts/test-ios.sh
184184
185- test- android :
185+ android :
186186 runs-on : ubuntu-latest
187- timeout-minutes : 20
187+ timeout-minutes : 40
188188 steps :
189- - name : Free Disk Space (Ubuntu)
190- uses : insightsengineering/disk-space-reclaimer@v1
191- with :
192- # this might remove tools that are actually needed,
193- # if set to "true" but frees about 6 GB
194- tools-cache : false
195-
196- # all of these default to true, but feel free to set to
197- # "false" if necessary for your workflow
198- android : false
199- dotnet : true
200- haskell : true
201- large-packages : true
202- swap-storage : true
203- docker-images : true
189+ # - name: Free Disk Space (Ubuntu)
190+ # uses: insightsengineering/disk-space-reclaimer@v1
191+ # with:
192+ # # this might remove tools that are actually needed,
193+ # # if set to "true" but frees about 6 GB
194+ # tools-cache: false
195+
196+ # # all of these default to true, but feel free to set to
197+ # # "false" if necessary for your workflow
198+ # android: false
199+ # dotnet: true
200+ # haskell: true
201+ # large-packages: true
202+ # swap-storage: true
203+ # docker-images: true
204204
205205 - name : Checkout
206206 uses : actions/checkout@v4
@@ -236,15 +236,15 @@ jobs:
236236 # ~/.android/adb*
237237 # key: avd-29
238238
239- - name : create AVD and generate snapshot for caching
240- # if: steps.avd-cache.outputs.cache-hit != 'true'
241- uses : reactivecircus/android-emulator-runner@v2
242- with :
243- api-level : 29
244- force-avd-creation : false
245- emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
246- disable-animations : false
247- script : echo "Generated AVD snapshot for caching."
239+ # - name: create AVD and generate snapshot for caching
240+ # # if: steps.avd-cache.outputs.cache-hit != 'true'
241+ # uses: reactivecircus/android-emulator-runner@v2
242+ # with:
243+ # api-level: 29
244+ # force-avd-creation: false
245+ # emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
246+ # disable-animations: false
247+ # script: echo "Generated AVD snapshot for caching."
248248
249249 - name : Give execute permissions to script
250250 run : chmod +x ./scripts/test-android.sh
@@ -259,25 +259,33 @@ jobs:
259259 script : |
260260 ./scripts/test-android.sh
261261
262- test-android-sqlcipher :
262+ - name : Upload Android diagnostics
263+ if : failure()
264+ uses : actions/upload-artifact@v4
265+ with :
266+ name : android-logcat-${{ github.job }}
267+ path : example/android-logcat.txt
268+ if-no-files-found : ignore
269+
270+ android-sqlcipher :
263271 runs-on : ubuntu-latest
264- timeout-minutes : 20
272+ timeout-minutes : 40
265273 steps :
266- - name : Free Disk Space (Ubuntu)
267- uses : insightsengineering/disk-space-reclaimer@v1
268- with :
269- # this might remove tools that are actually needed,
270- # if set to "true" but frees about 6 GB
271- tools-cache : false
272-
273- # all of these default to true, but feel free to set to
274- # "false" if necessary for your workflow
275- android : false
276- dotnet : true
277- haskell : true
278- large-packages : true
279- swap-storage : true
280- docker-images : true
274+ # - name: Free Disk Space (Ubuntu)
275+ # uses: insightsengineering/disk-space-reclaimer@v1
276+ # with:
277+ # # this might remove tools that are actually needed,
278+ # # if set to "true" but frees about 6 GB
279+ # tools-cache: false
280+
281+ # # all of these default to true, but feel free to set to
282+ # # "false" if necessary for your workflow
283+ # android: false
284+ # dotnet: true
285+ # haskell: true
286+ # large-packages: true
287+ # swap-storage: true
288+ # docker-images: true
281289 - name : Checkout
282290 uses : actions/checkout@v4
283291
@@ -337,8 +345,17 @@ jobs:
337345 adb shell input keyevent 82
338346 ./scripts/test-android.sh
339347
340- test-android-libsql :
348+ - name : Upload Android diagnostics
349+ if : failure()
350+ uses : actions/upload-artifact@v4
351+ with :
352+ name : android-logcat-${{ github.job }}
353+ path : example/android-logcat.txt
354+ if-no-files-found : ignore
355+
356+ android-libsql :
341357 runs-on : ubuntu-latest
358+ timeout-minutes : 40
342359 env :
343360 TURBO_CACHE_DIR : .turbo/android
344361 steps :
@@ -387,3 +404,11 @@ jobs:
387404 adb wait-for-device
388405 adb shell input keyevent 82
389406 ./scripts/test-android.sh
407+
408+ - name : Upload Android diagnostics
409+ if : failure()
410+ uses : actions/upload-artifact@v4
411+ with :
412+ name : android-logcat-${{ github.job }}
413+ path : example/android-logcat.txt
414+ if-no-files-found : ignore
0 commit comments