From 2f6dac143fd7ffacede3a7d101e5588000faee49 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Wed, 26 Jun 2024 13:58:14 +0200 Subject: [PATCH] Try to switch running tests from MacOS to Linux --- .github/workflows/build.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ef553e1c..7562eadb 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -17,11 +17,16 @@ jobs: android_tests: # see https://github.com/reactivecircus/android-emulator-runner, - # needs to run on macos as only there virtualization is available! - runs-on: macos-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - 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: Set up JDK uses: actions/setup-java@v2 with: @@ -32,5 +37,4 @@ jobs: uses: reactivecircus/android-emulator-runner@v2 with: api-level: 26 - arch: arm64-v8a script: ./gradlew connectedCheck