From 27e9aaf034dda446b8e8f82c11ea7e274215610b Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Tue, 18 Aug 2020 14:17:06 -0500 Subject: [PATCH] Add iOS build. --- .github/workflows/test.yml | 3 +++ Cargo.toml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3a5d3cc..00245b3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,3 +34,6 @@ jobs: - uses: actions/checkout@v2 - run: | cargo build --release + cargo install cargo-lipo + rustup target add aarch64-apple-ios armv7-apple-ios armv7s-apple-ios + cargo lipo --release diff --git a/Cargo.toml b/Cargo.toml index 83fe468..fed932d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,10 @@ license = "MIT" exclude = ["*.cfg", "*.yml"] edition = "2018" +[lib] +name = "tts" +crate-type = ["staticlib", "cdylib"] + [dependencies] log = "0.4" thiserror = "1"