Skip to content

chore(.github): add android workflow #3

chore(.github): add android workflow

chore(.github): add android workflow #3

Workflow file for this run

on: [push, pull_request]
name: CI
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [windows-latest, ubuntu-latest, macos-latest]
os: [ubuntu-latest]
rust:
- stable
# - beta
# - nightly
# - 1.73.0 # MSRV
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: aarch64-linux-android, armv7-linux-androideabi
components: rustfmt, clippy
- name: install
run: cargo install cargo-ndk
- name: test
run: cargo ndk test --workspace