Skip to content

Bump dependencies

Bump dependencies #126

Workflow file for this run

name: Android build
on: [ push ]
jobs:
BuildAndTest:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# os: [ self-hosted, macos-latest, ubuntu-latest, windows-latest ]
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: [ self-hosted, macos-latest ]
os: [ macos-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
- 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