diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 69ca970c0..34dcf910d 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -52,7 +52,7 @@ jobs: ram-size: 2048M disk-size: 7GB force-avd-creation: true - emulator-options: -no-snapshot-load -noaudio -no-boot-anim -camera-back none + emulator-options: -no-window -no-snapshot-load -noaudio -no-boot-anim -camera-back none script: | util/android-commands.sh init "${{ matrix.arch }}" "${{ matrix.api-level }}" "${{ env.TERMUX }}" - name: Save AVD cache @@ -88,7 +88,7 @@ jobs: ram-size: 2048M disk-size: 7GB force-avd-creation: false - emulator-options: -no-snapshot-save -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -snapshot ${{ matrix.api-level }}-${{ matrix.arch }}+termux-${{ env.TERMUX }} + emulator-options: -no-window -no-snapshot-save -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -snapshot ${{ matrix.api-level }}-${{ matrix.arch }}+termux-${{ env.TERMUX }} # This is not a usual script. Every line is executed in a separate shell with `sh -c`. If # one of the lines returns with error the whole script is failed (like running a script with # set -e) and in consequences the other lines (shells) are not executed.