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:
parent
81b23330e9
commit
d3ca27c707
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
@ -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
|
||||
|
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user