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

62 lines
1.3 KiB
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
rustup update
cargo check --release
2020-04-11 17:15:20 +00:00
build_windows:
name: Build Windows
runs-on: windows-latest
2020-11-17 18:10:21 +00:00
env:
LIBCLANG_PATH: c:\program files\llvm\bin
2020-04-11 17:15:20 +00:00
steps:
2020-08-18 15:34:08 +00:00
- uses: actions/checkout@v2
- run: |
choco install -qy llvm
rustup update
cargo check --release --all-features
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: |
rustup update
cargo check --release
build_ios:
name: Build iOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: |
rustup update
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