1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-23 02:59:37 +00:00

Make similar refactors to release action.

This commit is contained in:
Nolan Darilek 2020-10-08 19:15:12 -05:00
parent 1be226df8a
commit ca186671b4

View File

@ -15,9 +15,19 @@ jobs:
sudo apt-get update
sudo apt-get install -y libspeechd-dev
rustup update
cargo build --release
cargo check --release
rustup target add wasm32-unknown-unknown
cargo build --release --target wasm32-unknown-unknown
cargo check --release --target wasm32-unknown-unknown
build_web:
name: Build Web
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
rustup update
rustup target add wasm32-unknown-unknown
cargo check --release --target wasm32-unknown-unknown
build_windows:
name: Build Windows
@ -27,7 +37,7 @@ jobs:
- run: |
choco install -y llvm
rustup update
cargo build --release
cargo check --all-features --release
build_macos:
name: Build MacOS
@ -36,7 +46,7 @@ jobs:
- uses: actions/checkout@v2
- run: |
rustup update
cargo build --release
cargo check --release
build_ios:
name: Build iOS
@ -68,7 +78,7 @@ jobs:
publish:
name: Publish
runs-on: ubuntu-latest
needs: [build_linux, build_windows, build_macos, build_ios]
needs: [build_linux, build_web, build_windows, build_macos, build_ios]
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
steps: