2020-04-11 18:14:00 +00:00
|
|
|
name: Build
|
2020-04-11 16:53:36 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2020-08-18 15:34:08 +00:00
|
|
|
branches: [master]
|
2020-04-11 16:53:36 +00:00
|
|
|
pull_request:
|
2020-08-18 15:34:08 +00:00
|
|
|
branches: [master]
|
2020-04-11 16:53:36 +00:00
|
|
|
|
|
|
|
jobs:
|
2020-04-11 17:06:49 +00:00
|
|
|
build_linux:
|
|
|
|
name: Build Linux
|
2020-04-11 16:53:36 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-08-18 15:34:08 +00:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: |
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install -y libspeechd-dev
|
|
|
|
cargo build --release
|
2020-04-11 17:15:20 +00:00
|
|
|
|
|
|
|
build_windows:
|
|
|
|
name: Build Windows
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
2020-08-18 15:34:08 +00:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: |
|
|
|
|
choco install -y llvm
|
|
|
|
cargo build --release
|
2020-08-12 21:34:49 +00:00
|
|
|
|
|
|
|
build_macos:
|
|
|
|
name: Build MacOS
|
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
2020-08-18 15:34:08 +00:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: |
|
|
|
|
cargo build --release
|
2020-08-18 15:30:30 +00:00
|
|
|
|
|
|
|
build_android:
|
|
|
|
name: Build Android
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-08-18 15:34:08 +00:00
|
|
|
- uses: actions/checkout@v2
|
2020-08-18 15:48:04 +00:00
|
|
|
with:
|
|
|
|
lfs: true
|
2020-08-18 15:34:08 +00:00
|
|
|
- run: |
|
|
|
|
./gradlew assemble
|