parent
5733f52572
commit
0e6efd6d97
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ jobs:
|
|||
steps:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sysctl net.ipv6.conf.all.disable_ipv6=1
|
||||
apt-get update && apt-get upgrade -y
|
||||
apt-get install -y git curl wget
|
||||
curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh
|
||||
|
@ -62,7 +63,7 @@ jobs:
|
|||
echo "Creating AVD"
|
||||
echo "no" | avdmanager -v create avd --force --name "android_emulator" --package "system-images;android-${{ vars.ANDROID_API }};${{vars.ANDROID_TARGET}};${{ vars.ANDROID_ARCH }}" --tag "${{vars.ANRDOID_TARGET}}" --sdcard 128M --device "${{ vars.ANDROID_DEVICE }}"
|
||||
echo "Starting AVD"
|
||||
emulator -avd "android_emulator" -no-audio -no-window -no-snapstorage -no-snapshot -gpu swiftshader_indirect -no-boot-anim -no-accel -wipe-data -skip-adb-auth &
|
||||
emulator -avd "android_emulator" -no-audio -no-window -no-snapstorage -no-snapshot -gpu swiftshader_indirect -no-boot-anim -no-accel -no-metrics -wipe-data -skip-adb-auth &
|
||||
echo "Wait-for AVD"
|
||||
adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done; input keyevent 82'
|
||||
flutter doctor -v
|
||||
|
|
Loading…
Reference in a new issue