From e1e88f103dfdaef22187c174230f3ea55e20a9f0 Mon Sep 17 00:00:00 2001 From: Dennis Guse Date: Sat, 30 Nov 2024 09:58:33 +0100 Subject: [PATCH] Github action: use ubuntu for tests. --- .github/workflows/test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4a3ea65..6e31d09 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ on: jobs: test: timeout-minutes: 45 - runs-on: macos-latest + runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v4 @@ -17,6 +17,12 @@ jobs: distribution: 'adopt' java-version: '17' + - 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: run tests uses: reactivecircus/android-emulator-runner@v2.33.0 with: