Skip to content

Commit

Permalink
one day...
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaclennan committed Nov 14, 2024
1 parent e2a6e20 commit 0f771cd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/maestro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
distribution: 'temurin'
java-version: '17'

# https://developer.android.com/tools/variables
- name: Set up environment variables
run: |
mkdir -p $HOME/lib/android/sdk
Expand Down Expand Up @@ -81,16 +82,16 @@ jobs:
pwd
echo no | avdmanager create avd --force --name emu --device "pixel_8" -k 'system-images;android-34;google_apis;arm64-v8a'
avdmanager list avd
ls -al $ANDROID_SDK_HOME/avd
ls -al $ANDROID_EMULATOR_HOME
echo "Emulator version:"
$ANDROID_SDK_HOME/emulator/emulator @emu -version
$ANDROID_HOME/emulator/emulator @emu -version
echo "Hardware acceleration:"
$ANDROID_SDK_HOME/emulator/emulator -accel-check
$ANDROID_HOME/emulator/emulator -accel-check
shell: bash

- name: Start emulator
run: |
$ANDROID_SDK_HOME/emulator/emulator -avd emu -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back emulated
$ANDROID_HOME/emulator/emulator -avd emu -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back emulated
shell: bash

- name: Wait for emulator to boot
Expand Down

0 comments on commit 0f771cd

Please sign in to comment.