1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-23 03:39:38 +00:00

Do we need LLVM for this?

This commit is contained in:
Nolan Darilek 2020-11-17 12:22:18 -06:00
parent 1cbeab6ea9
commit 3500e88117

View File

@ -1,57 +1,56 @@
name: Test name: Test
on: on:
push: push:
pull_request: pull_request:
jobs: jobs:
build_linux: build_linux:
name: Build Linux name: Build Linux
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: | - run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y libspeechd-dev sudo apt-get install -y libspeechd-dev
rustup update rustup update
cargo check --examples --release cargo check --examples --release
build_web: build_web:
name: Build Web name: Build Web
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: | - run: |
rustup update rustup update
rustup target add wasm32-unknown-unknown rustup target add wasm32-unknown-unknown
cargo check --examples --release --target wasm32-unknown-unknown cargo check --examples --release --target wasm32-unknown-unknown
build_windows: build_windows:
name: Build Windows name: Build Windows
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: | - run: |
choco install -y llvm rustup update
rustup update cargo check --examples --release --all-features
cargo check --examples --release --all-features
build_macos:
build_macos: name: Build MacOS
name: Build MacOS runs-on: macos-latest
runs-on: macos-latest steps:
steps: - uses: actions/checkout@v2
- uses: actions/checkout@v2 - run: |
- run: | rustup update
rustup update cargo check --examples --release
cargo check --examples --release
build_ios:
build_ios: name: Build iOS
name: Build iOS runs-on: macos-latest
runs-on: macos-latest steps:
steps: - uses: actions/checkout@v2
- uses: actions/checkout@v2 - run: |
- run: | rustup update
rustup update rustup target add aarch64-apple-ios x86_64-apple-ios
rustup target add aarch64-apple-ios x86_64-apple-ios cargo install cargo-lipo
cargo install cargo-lipo cargo lipo --release
cargo lipo --release