From da1139e1eedd7e925eb8e94301346947b13c5a78 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Mon, 22 Nov 2021 16:19:03 +0100 Subject: [PATCH] ci emulator: Disable animations and other UI/UX features (#198) * ci emulator: Use Nexus 6 instead of 5X Should be a tad newer. * ci emulator: Disable animations and other UI/UX features We only care about starting a very simple UI-less app for now, and this seems to fix the deadlock that occurs right about every CI emulator job just before `adb install` runs. It hopefully also makes the runs a bit faster, but this wasn't measured/compared in detail due to already high runtime variance. --- .github/workflows/rust.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3e9ded76..79809682 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -115,7 +115,9 @@ jobs: arch: x86_64 # the `googleapis` emulator target is considerably slower on CI. target: default - profile: Nexus 5X + profile: Nexus 6 + emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none + disable-animations: true script: ./.github/workflows/android_test.sh "${{ steps.download.outputs.download-path }}" - name: Upload emulator logs uses: actions/upload-artifact@v2