Add an Android example and enhance the other examples with CLI argument parsing.
This commit is contained in:
parent
f6c12257bb
commit
269c60fde0
7 changed files with 222 additions and 53 deletions
4
.github/workflows/cpal.yml
vendored
4
.github/workflows/cpal.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue