diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 41ed15b..67a428b 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -41,7 +41,7 @@ jobs: test: name: Test on API ${{ matrix.api-level }} ${{ matrix.arch }} needs: build - runs-on: macos-latest + runs-on: ubuntu-latest strategy: fail-fast: false matrix: @@ -94,6 +94,11 @@ jobs: distribution: 'temurin' java-version: '17' cache: 'gradle' + - 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: run tests uses: reactivecircus/android-emulator-runner@v2 with: