[WAL-752] feat(mobile): add native mobile Digital Credentials API presentation #10
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: Android DC emulator probe | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/android-dc-emulator-probe.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| probe: | |
| name: api-36-system-image-37-google-apis-playstore-ps16k | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Enable KVM | |
| run: | | |
| echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules | |
| sudo udevadm control --reload-rules | |
| sudo udevadm trigger --name-match=kvm | |
| - name: Boot emulator and verify Play Services | |
| uses: reactivecircus/android-emulator-runner@v2.38.0 | |
| with: | |
| api-level: 36 | |
| system-image-api-level: "37.0" | |
| arch: x86_64 | |
| profile: pixel_7 | |
| target: google_apis_playstore_ps16k | |
| ram-size: 4096M | |
| emulator-boot-timeout: 600 | |
| emulator-options: >- | |
| -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -no-metrics | |
| script: 'adb shell dumpsys package com.google.android.gms | grep -E ''versionName|versionCode''' |