Skip to content

Add PassDown traits for ExecNow and ReplaceBuf #973

Add PassDown traits for ExecNow and ReplaceBuf

Add PassDown traits for ExecNow and ReplaceBuf #973

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: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Enable KVM
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
- 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