Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set sd card with Android <29 in workflow #70

Merged
merged 1 commit into from
Aug 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
arch: x86_64
emulator-boot-timeout: 300
force-avd-creation: false
sdcard-path-or-size: ${{ matrix.api-level <= 23 && '10M' || null }}
sdcard-path-or-size: ${{ matrix.api-level < 29 && '10M' || null }}
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -camera-front none
script: echo "Generated AVD snapshot for caching."

Expand All @@ -128,7 +128,7 @@ jobs:
arch: x86_64
emulator-boot-timeout: 120
force-avd-creation: false
sdcard-path-or-size: ${{ matrix.api-level <= 23 && '10M' || null }}
sdcard-path-or-size: ${{ matrix.api-level < 29 && '10M' || null }}
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -camera-front none
script: |
if [ ${{ matrix.api-level }} -le 29 ]; then flutter build apk --debug; adb install -r build/app/outputs/flutter-apk/app-debug.apk; adb shell pm grant studio.midoridesign.gal_example android.permission.WRITE_EXTERNAL_STORAGE; fi
Expand All @@ -146,7 +146,7 @@ jobs:
arch: x86_64
emulator-boot-timeout: 120
force-avd-creation: false
sdcard-path-or-size: ${{ matrix.api-level <= 23 && '10M' || null }}
sdcard-path-or-size: ${{ matrix.api-level < 29 && '10M' || null }}
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -camera-front none
pre-emulator-launch-script: |
adb kill-server
Expand All @@ -166,7 +166,7 @@ jobs:
arch: x86_64
emulator-boot-timeout: 120
force-avd-creation: false
sdcard-path-or-size: ${{ matrix.api-level <= 23 && '10M' || null }}
sdcard-path-or-size: ${{ matrix.api-level < 29 && '10M' || null }}
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -camera-front none
pre-emulator-launch-script: |
adb kill-server
Expand Down
Loading