try to fix ccache
All checks were successful
/ test (push) Successful in 1h19m11s

This commit is contained in:
Jacob Lifshay 2024-10-06 20:57:42 -07:00
parent f403eed7c0
commit aec383c0af
Signed by: programmerjake
SSH key fingerprint: SHA256:B1iRVvUJkvd7upMIiMqn6OyxvD2SgJkAH3ZnUOj6z+c

View file

@ -37,11 +37,17 @@ jobs:
- name: Cache ccache dir - name: Cache ccache dir
uses: https://code.forgejo.org/actions/cache@v3 uses: https://code.forgejo.org/actions/cache@v3
with: with:
path: ~/.ccache path: .ccache
key: ${{ runner.os }}-${{ github.sha }} key: ${{ runner.os }}-${{ github.sha }}
restore-keys: | restore-keys: |
${{ runner.os }}- ${{ 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" export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
echo "$PATH" >> "$GITHUB_PATH" echo "$PATH" >> "$GITHUB_PATH"
- run: | - run: |