Skip to content

Commit ac52884

Browse files
committed
CI: Cache cargo files for rav1e.
1 parent 15ff08f commit ac52884

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build.yml

+11
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v4
3030

31+
- name: Install rust dependencies
32+
if: ${{ env.WITH_RAV1E == '1' }}
33+
run: |
34+
sudo apt-get update
35+
sudo apt-get install cargo nasm
36+
37+
- uses: Swatinem/rust-cache@v2
38+
if: ${{ env.WITH_RAV1E == '1' }}
39+
with:
40+
shared-key: "rust"
41+
3142
- name: Install dependencies
3243
run: |
3344
./scripts/install-ci-linux.sh

0 commit comments

Comments
 (0)