Setup cache for cargo

This commit is contained in:
Takeshi Watanabe 2020-12-24 19:14:53 +09:00 committed by GitHub
parent 153421b1c6
commit 1292abdfd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,14 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
submodules: true
submodules: true
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install intel compute runtime
run: |
sudo add-apt-repository ppa:intel-opencl/intel-opencl