mirror of https://github.com/ndarilek/tts-rs.git
Add test action to ensure functionality on Linux and Windows.
This commit is contained in:
parent
d004404e4d
commit
87ae25b522
|
@ -0,0 +1,26 @@
|
||||||
|
name: Test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build_linux:
|
||||||
|
name: Build Linux
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y libspeechd-dev
|
||||||
|
cargo build --release --verbose
|
||||||
|
|
||||||
|
build_windows:
|
||||||
|
name: Build Windows
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- run: |
|
||||||
|
choco install -y llvm
|
||||||
|
cargo build --release --verbose
|
Loading…
Reference in New Issue