mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-17 15:39:38 +00:00
57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
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
|
|
rustup update
|
|
cargo check --examples --release
|
|
|
|
build_web:
|
|
name: Build Web
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: |
|
|
rustup update
|
|
rustup target add wasm32-unknown-unknown
|
|
cargo check --examples --release --target wasm32-unknown-unknown
|
|
|
|
build_windows:
|
|
name: Build Windows
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: |
|
|
rustup update
|
|
cargo check --examples --release --all-features
|
|
|
|
build_macos:
|
|
name: Build MacOS
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: |
|
|
rustup update
|
|
cargo check --examples --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
|