From f8cfb2c9a95831b5014f50c4510fbe303c1c4e2e Mon Sep 17 00:00:00 2001 From: Sasikanth Miriyampalli Date: Sat, 27 Apr 2024 08:54:33 +0530 Subject: [PATCH] Use ubuntu machine for running Android tests in CI --- .github/workflows/ci_checks.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_checks.yml b/.github/workflows/ci_checks.yml index 99ec36fa2..b741c20cd 100644 --- a/.github/workflows/ci_checks.yml +++ b/.github/workflows/ci_checks.yml @@ -13,7 +13,7 @@ concurrency: jobs: code-formatting: - runs-on: macos-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -60,11 +60,17 @@ jobs: run: ./gradlew cleanAllTests allTests android-tests: - runs-on: macos-latest + runs-on: ubuntu-latest timeout-minutes: 30 steps: - uses: actions/checkout@v4 + - 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: Setup JDK 20 uses: actions/setup-java@v4 with: