From 833c1a0d3fa3dfe4132de792ca11cabf0d5eedd5 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Mon, 8 Jan 2024 16:19:43 +0100 Subject: [PATCH] ci: set -no-window in Android workflow --- .github/workflows/android.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.