Skip to content

Update AndroidIntegrationTest.yml #209

Update AndroidIntegrationTest.yml

Update AndroidIntegrationTest.yml #209

name: AndroidIntegrationTest
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
GRADLE_OPTS: -Dorg.gradle.caching=true
jobs:
androidIntegrationTest:
strategy:
matrix:
os: [ubuntu-latest, ubuntu-24.04]
runs-on: ${{ matrix.os }}
steps:
- 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
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- run: df
- uses: gradle/actions/setup-gradle@v4
- run: df
- name: Run Android integration tests
run: ./gradlew :kotlinx-uuid-core:allDevicesCheck -Pandroid.testoptions.manageddevices.emulator.gpu=swiftshader_indirect