Skip to content

Bump agp from 8.2.2 to 8.3.0 (#12) #134

Bump agp from 8.2.2 to 8.3.0 (#12)

Bump agp from 8.2.2 to 8.3.0 (#12) #134

Workflow file for this run

name: Android build
on: [ push ]
jobs:
BuildAndTest:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
steps:
- uses: actions/checkout@v4
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
if: ${{ matrix.os != 'self-hosted' }}
- uses: gradle/gradle-build-action@v3
with:
arguments: ciBuildAndTest --stacktrace
Device:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ macos-latest, ubuntu-latest ]
managed-virtual-device: [ 27, 28, 29, 30, 31, 32, 33, 34 ]
steps:
- uses: actions/checkout@v4
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Enable KVM group perms
if: contains(matrix.os, 'ubuntu')
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/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
if: ${{ matrix.os != 'self-hosted' }}
- uses: gradle/gradle-build-action@v3
with:
arguments: ciSdkManagerLicenses --stacktrace
- uses: gradle/gradle-build-action@v3
with:
arguments: managedVirtualDevice${{ matrix.managed-virtual-device }}DebugAndroidTest
--no-parallel --max-workers=1
-Pandroid.testInstrumentationRunnerArguments.class=siarhei.luskanau.managed.virtual.device.ExampleInstrumentedTest
-Pandroid.testoptions.manageddevices.emulator.gpu=swiftshader_indirect
--stacktrace