Add an Android example and enhance the other examples with CLI argument parsing.

This commit is contained in:
Alex Moon 2020-12-14 10:56:14 -07:00
parent f6c12257bb
commit 269c60fde0
7 changed files with 222 additions and 53 deletions

View file

@ -262,6 +262,8 @@ jobs:
toolchain: stable
override: true
target: armv7-linux-androideabi
- name: Check android
run: cargo check --example android --target armv7-linux-androideabi --verbose
- name: Check beep
run: cargo check --example beep --target armv7-linux-androideabi --verbose
- name: Check enumerate
@ -284,4 +286,4 @@ jobs:
- name: Install Cargo APK
run: cargo install cargo-apk
- name: Build APK
run: cargo apk build --example beep
run: cargo apk build --example android