Add test action to ensure functionality on Linux and Windows.

This commit is contained in:
Nolan Darilek 2020-06-09 07:53:46 -05:00
parent d004404e4d
commit 87ae25b522
1 changed files with 26 additions and 0 deletions

26
.github/workflows/test.yml vendored Normal file
View File

@ -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