godot-tts/.github/workflows/build.yml

49 lines
1000 B
YAML
Raw Normal View History

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:
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 20:59:27 +00:00
rustup target add aarch64-apple-ios x86_64-apple-ios
cargo install cargo-lipo
cargo lipo --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
with:
lfs: true
2020-08-18 15:34:08 +00:00
- run: |
./gradlew assemble