Skip to content

Add Base type to Device #254

Add Base type to Device

Add Base type to Device #254

Workflow file for this run

name: Android NNAPI
on:
push:
branches: [ '**' ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
connected-tests:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Install x86_64-linux-android rust target
run: rustup target add x86_64-linux-android
- name: Install cargo-ndk
run: cargo install cargo-ndk
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'adopt'
cache: 'gradle'
- name: Run connected tests
uses: ReactiveCircus/android-emulator-runner@v2
with:
api-level: 33
ndk: 25.2.9519653
target: google_apis
arch: x86_64
working-directory: ./android-nnapi-ci
script: ./gradlew connectedCheck