mirror of
https://github.com/lightsoutgames/godot-tts
synced 2024-11-08 21:15:56 +00:00
60 lines
1.2 KiB
YAML
60 lines
1.2 KiB
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
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
|
|
rustup update
|
|
cargo build --release
|
|
|
|
build_windows:
|
|
name: Build Windows
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: |
|
|
choco install -y llvm
|
|
rustup update
|
|
cargo build --release
|
|
|
|
build_macos:
|
|
name: Build MacOS
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: |
|
|
rustup update
|
|
cargo build --release
|
|
|
|
build_ios:
|
|
name: Build iOS
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: |
|
|
rustup update
|
|
rustup target add aarch64-apple-ios x86_64-apple-ios
|
|
cargo install cargo-lipo
|
|
cargo lipo --release
|
|
|
|
build_android:
|
|
name: Build Android
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
lfs: true
|
|
- run: |
|
|
./gradlew assemble
|