This commit is contained in:
parent
f403eed7c0
commit
aec383c0af
|
@ -37,11 +37,17 @@ jobs:
|
|||
- name: Cache ccache dir
|
||||
uses: https://code.forgejo.org/actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
path: .ccache
|
||||
key: ${{ runner.os }}-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-
|
||||
- run: |
|
||||
- name: Setup ccache
|
||||
run: |
|
||||
ccache --set-config=cache_dir="${{ github.workspace }}/.ccache"
|
||||
ccache --set-config=compression=true
|
||||
ccache --set-config=compression_level=6
|
||||
ccache -M 4G
|
||||
ccache -z
|
||||
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
|
||||
echo "$PATH" >> "$GITHUB_PATH"
|
||||
- run: |
|
||||
|
|
Loading…
Reference in a new issue