File tree 1 file changed +5
-1
lines changed 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -324,10 +324,13 @@ jobs:
324
324
run : |
325
325
pushd mobile/src/main/jniLibs && ls -R && popd
326
326
327
+ - name : Install intel-haxm
328
+ if : runner.os == 'macOS'
329
+ run : brew install intel-haxm
330
+
327
331
# # # Below code is majorly from https://github.com/actions/runner-images/issues/6152#issuecomment-1243718140
328
332
- name : Create Android emulator
329
333
run : |
330
- brew install intel-haxm
331
334
# Install AVD files
332
335
echo "y" | $ANDROID_HOME/tools/bin/sdkmanager --install 'system-images;android-'$MATRIX_E_SDK';default;x86_64'
333
336
echo "y" | $ANDROID_HOME/tools/bin/sdkmanager --licenses
@@ -366,6 +369,7 @@ jobs:
366
369
run : |
367
370
echo "Starting emulator and waiting for boot to complete...."
368
371
ls -la $ANDROID_HOME/emulator
372
+ $ANDROID_HOME/tools/emulator --accel-check # check for hardware acceleration
369
373
nohup $ANDROID_HOME/tools/emulator -avd $MATRIX_AVD -gpu host -no-audio -no-boot-anim -camera-back none -camera-front none -qemu -m 2048 2>&1 &
370
374
$ANDROID_HOME/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed | tr -d '\r') ]]; do echo "wait..."; sleep 1; done; input keyevent 82'
371
375
echo "Emulator has finished booting"
You can’t perform that action at this time.
0 commit comments