Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

expand CI tests

expand CI tests #40

Workflow file for this run

name: Android CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Install Gradle Wrapper
run: gradle wrapper
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew :fuse:build
test:
runs-on: ubuntu-latest
strategy:
matrix:
api-level: [24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34]
target: [default]
steps:
- name: checkout
uses: actions/checkout@v4
- name: Install Gradle Wrapper
run: gradle wrapper
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
arch: x86_64
profile: Nexus 6
script: ./gradlew :fuse:connectedCheck