2020-06-09 12:53:46 +00:00
|
|
|
name: Test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build_linux:
|
|
|
|
name: Build Linux
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-06-09 15:55:38 +00:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: |
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install -y libspeechd-dev
|
2020-09-02 20:52:11 +00:00
|
|
|
rustup update
|
2020-06-09 15:59:41 +00:00
|
|
|
cargo build --release
|
2020-10-09 00:10:14 +00:00
|
|
|
|
|
|
|
build_web:
|
|
|
|
name: Build Web
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: |
|
|
|
|
rustup update
|
2020-07-06 18:13:17 +00:00
|
|
|
rustup target add wasm32-unknown-unknown
|
2020-07-06 18:00:17 +00:00
|
|
|
cargo build --release --target wasm32-unknown-unknown
|
2020-06-09 12:53:46 +00:00
|
|
|
|
|
|
|
build_windows:
|
|
|
|
name: Build Windows
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
2020-06-09 15:55:38 +00:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: |
|
|
|
|
choco install -y llvm
|
2020-09-02 20:52:11 +00:00
|
|
|
rustup update
|
2020-06-09 15:59:41 +00:00
|
|
|
cargo build --release
|
2020-08-12 20:48:38 +00:00
|
|
|
|
|
|
|
build_macos:
|
|
|
|
name: Build MacOS
|
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: |
|
2020-09-02 20:52:11 +00:00
|
|
|
rustup update
|
2020-08-12 20:48:38 +00:00
|
|
|
cargo build --release
|
2020-09-02 20:37:34 +00:00
|
|
|
|
|
|
|
build_ios:
|
|
|
|
name: Build iOS
|
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: |
|
2020-09-02 20:52:11 +00:00
|
|
|
rustup update
|
2020-08-18 19:59:48 +00:00
|
|
|
rustup target add aarch64-apple-ios x86_64-apple-ios
|
2020-08-18 20:26:23 +00:00
|
|
|
cargo install cargo-lipo
|
2020-08-18 19:17:06 +00:00
|
|
|
cargo lipo --release
|