Skip to content

Commit

Permalink
chore(.github): add android workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Aug 1, 2024
1 parent ce97879 commit d07b4f2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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

0 comments on commit d07b4f2

Please sign in to comment.