Skip to content

Commit

Permalink
ci emulator: Disable animations and other UI/UX features (#198)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
MarijnS95 authored Nov 22, 2021
1 parent b912a6b commit da1139e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da1139e

Please sign in to comment.