Skip to content

Commit e58e012

Browse files
committed
Added ccache for self-hosted runner
1 parent 304cee2 commit e58e012

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build-riscv-native.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ jobs:
2424
ccache \
2525
cmake
2626
27+
- name: Setup ccache
28+
run: |
29+
mkdir -p $HOME/.ccache
30+
ccache -M 5G
31+
echo "CCACHE_DIR=$HOME/.ccache" >> $GITHUB_ENV
32+
2733
- name: Build
2834
run: |
2935
cmake -B build -DLLAMA_CURL=OFF \

0 commit comments

Comments
 (0)