Skip to content

Commit 3671b13

Browse files
committed
Try setup-skip action
1 parent 9d1f3b5 commit 3671b13

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ jobs:
5959
run: |
6060
echo "$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_HOME/build-tools/${{ env.ANDROID_BUILD_TOOLS_VERSION }}" >> $GITHUB_PATH
6161
echo "ANDROID_NDK_HOME=${{ steps.setup-ndk.outputs.ndk-path }}" >> $GITHUB_ENV
62-
# needed for Linux
62+
# needed for Linux or else the emulator will be created in
63+
# ~/.android/avd but it will be sought in ~/.config/.android/avd
6364
if [[ "${RUNNER_OS}" == "Linux" ]]; then
6465
echo "ANDROID_AVD_HOME=${XDG_CONFIG_HOME}/.android/avd" >> $GITHUB_ENV
6566
fi
@@ -90,7 +91,7 @@ jobs:
9091
run: emulator -list-avds
9192

9293
- name: Emulator - Boot
93-
run: emulator -memory 4096 -avd "${ANDROID_EMULATOR_NAME}" -wipe-data -no-window -gpu "${ANDROID_GPU}" -no-snapshot -noaudio -no-boot-anim &
94+
run: emulator -memory 4096 -avd "${ANDROID_EMULATOR_NAME}" -wipe-data -no-window -accel off -no-snapshot -noaudio -no-boot-anim &
9495

9596
- name: ADB Wait For Device
9697
run: adb wait-for-any-device

0 commit comments

Comments
 (0)