ci(smoke): disable streaming install and wait for boot readiness #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Emulator Smoke | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: ["main"] | |
| paths: | |
| - ".github/workflows/emulator-smoke.yml" | |
| - "scripts/ci_emulator_smoke.sh" | |
| - "scripts/check_hardened_apk.py" | |
| - "fixtures/test-apps/**" | |
| - "loader/**" | |
| - "pack.py" | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| emulator-smoke: | |
| name: Emulator Startup Smoke | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 35 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Setup Android SDK | |
| uses: android-actions/setup-android@v3 | |
| - name: Install Rust Toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: aarch64-linux-android,armv7-linux-androideabi,x86_64-linux-android | |
| - name: Cache Rust artifacts | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: loader/app/src/main/rust | |
| - name: Install cargo-ndk | |
| run: cargo install cargo-ndk --locked | |
| - name: Run connected startup smoke test | |
| uses: reactivecircus/android-emulator-runner@v2 | |
| with: | |
| api-level: 30 | |
| target: google_apis | |
| arch: x86_64 | |
| profile: Nexus 6 | |
| disable-animations: false | |
| emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none | |
| script: | | |
| bash scripts/ci_emulator_smoke.sh |