Add apk build and alter CI

This commit is contained in:
enfipy 2020-10-27 21:14:42 +02:00
parent f8775b1e7b
commit 0ff26d163d
No known key found for this signature in database
GPG key ID: 7B671F66C66BD126
3 changed files with 43 additions and 9 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "cpal"
version = "0.12.1"
version = "0.13.0"
authors = ["The CPAL contributors", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "Low-level cross-platform audio I/O library in pure Rust."
repository = "https://github.com/rustaudio/cpal"
@ -11,7 +11,6 @@ keywords = ["audio", "sound"]
[features]
asio = ["asio-sys", "num-traits"] # Only available on Windows. See README for setup instructions.
[dependencies]
thiserror = "1.0.2"
@ -51,3 +50,23 @@ oboe = { version = "0.2.1", features = [ "java-interface" ] }
ndk = "0.2"
ndk-glue = "0.2"
jni = "0.17"
[[example]]
name = "beep"
path = "examples/beep.rs"
crate-type = ["cdylib"]
[[example]]
name = "enumerate"
path = "examples/enumerate.rs"
crate-type = ["cdylib"]
[[example]]
name = "feedback"
path = "examples/feedback.rs"
crate-type = ["cdylib"]
[[example]]
name = "record_wav"
path = "examples/record_wav.rs"
crate-type = ["cdylib"]