Separate out iOS builds, and ensure Rust is up-to-date.

This commit is contained in:
Nolan Darilek 2020-09-02 17:05:35 -05:00
parent 54222b1fcb
commit 2222e3eda7
2 changed files with 15 additions and 0 deletions

View File

@ -15,6 +15,7 @@ jobs:
- run: |
sudo apt-get update
sudo apt-get install -y libspeechd-dev
rustup update
cargo build --release
build_windows:
@ -24,6 +25,7 @@ jobs:
- uses: actions/checkout@v2
- run: |
choco install -y llvm
rustup update
cargo build --release
build_macos:
@ -32,7 +34,16 @@ jobs:
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

View File

@ -14,6 +14,7 @@ jobs:
- run: |
sudo apt-get update
sudo apt-get install -y libspeechd-dev
rustup update
cargo build --release
mv target linux
- uses: actions/upload-artifact@v1
@ -28,6 +29,7 @@ jobs:
- uses: actions/checkout@v2
- run: |
choco install -y llvm
rustup update
cargo build --release
move target windows
- uses: actions/upload-artifact@v1
@ -41,6 +43,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: |
rustup update
cargo build --release
mv target macos
- uses: actions/upload-artifact@v1
@ -69,6 +72,7 @@ jobs:
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