Add caching for release builds.

This commit is contained in:
Nolan Darilek 2020-11-17 13:12:28 -06:00
parent ac0425b652
commit a0cc984fa1

View File

@ -11,6 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- run: |
sudo apt-get update
sudo apt-get install -y libspeechd-dev
@ -29,6 +30,7 @@ jobs:
LIBCLANG_PATH: c:\program files\llvm\bin
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- run: |
choco install -y llvm
rustup update
@ -46,6 +48,7 @@ jobs:
LIBCLANG_PATH: c:\program files\llvm\bin
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- run: |
choco install -y llvm
rustup update
@ -62,6 +65,7 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- run: |
rustup update
cargo build --release
@ -91,6 +95,7 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- run: |
rustup update
rustup target add aarch64-apple-ios x86_64-apple-ios