1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-17 07:19:36 +00:00

Force Rust toolchain update, and separate out iOS build.

This commit is contained in:
Nolan Darilek 2020-09-02 15:52:11 -05:00
parent 81b23330e9
commit d3ca27c707
2 changed files with 17 additions and 1 deletions

View File

@ -6,7 +6,6 @@ on:
- "v*"
jobs:
build_linux:
name: Build Linux
runs-on: ubuntu-latest
@ -15,6 +14,7 @@ jobs:
- run: |
sudo apt-get update
sudo apt-get install -y libspeechd-dev
rustup update
cargo build --release
rustup target add wasm32-unknown-unknown
cargo build --release --target wasm32-unknown-unknown
@ -26,6 +26,7 @@ jobs:
- uses: actions/checkout@v2
- run: |
choco install -y llvm
rustup update
cargo build --release
build_macos:
@ -34,7 +35,16 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: |
rustup update
cargo build --release
build_ios:
name: Build iOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: |
rustup update
rustup target add aarch64-apple-ios x86_64-apple-ios
cargo install cargo-lipo
cargo lipo --release
@ -49,6 +59,7 @@ jobs:
- uses: actions/checkout@v2
- run: |
choco install -y llvm
rustup update
cargo login $CARGO_TOKEN
cd winrt_bindings
cargo package
@ -65,5 +76,6 @@ jobs:
- run: |
sudo apt-get update
sudo apt-get install -y libspeechd-dev
rustup update
cargo login $CARGO_TOKEN
cargo publish

View File

@ -13,6 +13,7 @@ jobs:
- run: |
sudo apt-get update
sudo apt-get install -y libspeechd-dev
rustup update
cargo build --release
rustup target add wasm32-unknown-unknown
cargo build --release --target wasm32-unknown-unknown
@ -24,6 +25,7 @@ jobs:
- uses: actions/checkout@v2
- run: |
choco install -y llvm
rustup update
cargo build --release
build_macos:
@ -32,6 +34,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: |
rustup update
cargo build --release
build_ios:
@ -40,6 +43,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: |
rustup update
rustup target add aarch64-apple-ios x86_64-apple-ios
cargo install cargo-lipo
cargo lipo --release