mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-23 03:19:38 +00:00
Add caching to builds, and remove unneeded LLVM install.
This commit is contained in:
parent
3500e88117
commit
10010f9bc9
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -11,6 +11,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libspeechd-dev
|
||||
|
@ -24,6 +25,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- run: |
|
||||
rustup update
|
||||
rustup target add wasm32-unknown-unknown
|
||||
|
@ -34,8 +36,8 @@ jobs:
|
|||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- run: |
|
||||
choco install -y llvm
|
||||
rustup update
|
||||
cargo check --examples --all-features --release
|
||||
|
||||
|
@ -44,6 +46,7 @@ jobs:
|
|||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- run: |
|
||||
rustup update
|
||||
cargo check --examples --release
|
||||
|
@ -53,6 +56,7 @@ jobs:
|
|||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- run: |
|
||||
rustup update
|
||||
rustup target add aarch64-apple-ios x86_64-apple-ios
|
||||
|
@ -67,6 +71,7 @@ jobs:
|
|||
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- run: |
|
||||
choco install -y llvm
|
||||
rustup update
|
||||
|
@ -83,6 +88,7 @@ jobs:
|
|||
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libspeechd-dev
|
||||
|
|
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
@ -10,6 +10,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libspeechd-dev
|
||||
|
@ -21,6 +22,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- run: |
|
||||
rustup update
|
||||
rustup target add wasm32-unknown-unknown
|
||||
|
@ -31,6 +33,7 @@ jobs:
|
|||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- run: |
|
||||
rustup update
|
||||
cargo check --examples --release --all-features
|
||||
|
@ -40,6 +43,7 @@ jobs:
|
|||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- run: |
|
||||
rustup update
|
||||
cargo check --examples --release
|
||||
|
@ -49,6 +53,7 @@ jobs:
|
|||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- run: |
|
||||
rustup update
|
||||
rustup target add aarch64-apple-ios x86_64-apple-ios
|
||||
|
|
Loading…
Reference in New Issue
Block a user