Skip to content

Commit

Permalink
google_apis
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Aug 2, 2024
1 parent 9e43115 commit fa75aec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ jobs:
- name: Build unit tests for Android
run: cargo ndk -t ${{ matrix.target }} test --no-run

- name: Enable KVM group perms
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: Create emulator script
run: |
echo '#!/bin/bash
Expand All @@ -70,5 +76,6 @@ jobs:
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
target: google_apis
arch: ${{ matrix.emulator-arch }}
script: ./run_tests_on_emulator.sh

0 comments on commit fa75aec

Please sign in to comment.