Skip to content

Commit

Permalink
Single headless emulator - 57
Browse files Browse the repository at this point in the history
  • Loading branch information
kaanx022 committed May 12, 2024
1 parent e7b8161 commit ec8db85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/kaan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,13 @@ jobs:
echo "kaankaankaan1"
for i in {1..4}
do
echo "Creating AVD testAVD$i..."
echo "no" | avdmanager create avd -n "testAVD$i" -k "system-images;android-30;google_apis;x86_64" --force
echo "Starting emulator for testAVD$i..."
nohup emulator -avd "testAVD$i" -no-audio -no-window -no-boot-anim -no-snapshot-load -no-snapshot-save -wipe-data > /dev/null 2>&1 &
done
echo "kaankaankaan2"
sleep 30
adb wait-for-device
for i in {5554..5558..2} # Loop from 5554 to 5558 stepping by 2 each time
do
until adb -s emulator-$i shell 'getprop sys.boot_completed' | grep -m 1 '1'; do
Expand Down

0 comments on commit ec8db85

Please sign in to comment.