Skip to content

Android: fix the :bench instrumentation test target #42

Android: fix the :bench instrumentation test target

Android: fix the :bench instrumentation test target #42

Workflow file for this run

on:
push:
paths:
- "android/**"
- ".github/workflows/android.yaml"
branches: [ "main" ]
pull_request:
paths:
- "android/**"
- ".github/workflows/android.yaml"
branches: [ "main" ]
name: Android
jobs:
build:
name: Debug build
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "corretto"
cache: gradle
- name: Install dependencies
run: sudo apt-get install -y tree
- name: Build all targets (debug) with Gradle
working-directory: android
run: ./gradlew assembleDebug assembleAndroidTest
- name: Build lib release and publish locally
working-directory: android
run: ./scripts/01_publish_local.sh
- name: Publish the local Maven repository
uses: actions/upload-artifact@v3
with:
name: maven-repository
path: |
android/maven/*
!android/maven/.gitignore