mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
chore(workflow): use ubuntu-latest and KVM for connected checks
This commit is contained in:
@@ -178,7 +178,7 @@ jobs:
|
|||||||
|
|
||||||
run_connected_checks:
|
run_connected_checks:
|
||||||
name: Run connected checks
|
name: Run connected checks
|
||||||
runs-on: macos-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
api-level: [ 26, 32 ]
|
api-level: [ 26, 32 ]
|
||||||
@@ -198,6 +198,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: ${{ env.BUILD_JAVA_VERSION }}
|
java-version: ${{ env.BUILD_JAVA_VERSION }}
|
||||||
distribution: ${{ env.BUILD_JAVA_DIST }}
|
distribution: ${{ env.BUILD_JAVA_DIST }}
|
||||||
|
- 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: Change Gradle wrapper permissions
|
- name: Change Gradle wrapper permissions
|
||||||
run: chmod +x ./gradlew
|
run: chmod +x ./gradlew
|
||||||
- name: Restore cache
|
- name: Restore cache
|
||||||
|
|||||||
Reference in New Issue
Block a user