diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 98440bc7..bdac219c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,12 @@ jobs: with: java-version: 15 distribution: 'adopt' + - name: Enable KVM group perms + run: | + sudo apt-get install -y qemu-kvm + 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 Flutter version 🔧 uses: ./.github/actions/flutter-action with: diff --git a/scripts/configure-sdkmanager.sh b/scripts/configure-sdkmanager.sh index 1aedb1c6..5ed57f13 100755 --- a/scripts/configure-sdkmanager.sh +++ b/scripts/configure-sdkmanager.sh @@ -2,7 +2,7 @@ build_tools_version="build-tools;32.0.0" platform_version="platforms;android-32" -system_image="system-images;androidsdk-29;default;x86" +system_image="system-images;android-29;default;x86" sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils sudo systemctl enable libvirt-bin