mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-23 07:09:37 +00:00
Make similar refactors to release action.
This commit is contained in:
parent
1be226df8a
commit
ca186671b4
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
|
@ -15,9 +15,19 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libspeechd-dev
|
sudo apt-get install -y libspeechd-dev
|
||||||
rustup update
|
rustup update
|
||||||
cargo build --release
|
cargo check --release
|
||||||
rustup target add wasm32-unknown-unknown
|
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:
|
build_windows:
|
||||||
name: Build Windows
|
name: Build Windows
|
||||||
|
@ -27,7 +37,7 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
choco install -y llvm
|
choco install -y llvm
|
||||||
rustup update
|
rustup update
|
||||||
cargo build --release
|
cargo check --all-features --release
|
||||||
|
|
||||||
build_macos:
|
build_macos:
|
||||||
name: Build MacOS
|
name: Build MacOS
|
||||||
|
@ -36,7 +46,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: |
|
- run: |
|
||||||
rustup update
|
rustup update
|
||||||
cargo build --release
|
cargo check --release
|
||||||
|
|
||||||
build_ios:
|
build_ios:
|
||||||
name: Build iOS
|
name: Build iOS
|
||||||
|
@ -68,7 +78,7 @@ jobs:
|
||||||
publish:
|
publish:
|
||||||
name: Publish
|
name: Publish
|
||||||
runs-on: ubuntu-latest
|
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:
|
env:
|
||||||
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
|
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user