Skip to content

Commit 7c234c5

Browse files
committed
chore(workflow): use ubuntu-latest and KVM for connected checks
1 parent 44f6543 commit 7c234c5

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ jobs:
178178

179179
run_connected_checks:
180180
name: Run connected checks
181-
runs-on: macos-latest
181+
runs-on: ubuntu-latest
182182
strategy:
183183
matrix:
184184
api-level: [ 26, 32 ]
@@ -198,6 +198,11 @@ jobs:
198198
with:
199199
java-version: ${{ env.BUILD_JAVA_VERSION }}
200200
distribution: ${{ env.BUILD_JAVA_DIST }}
201+
- name: Enable KVM group perms
202+
run: |
203+
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
204+
sudo udevadm control --reload-rules
205+
sudo udevadm trigger --name-match=kvm
201206
- name: Change Gradle wrapper permissions
202207
run: chmod +x ./gradlew
203208
- name: Restore cache

0 commit comments

Comments
 (0)