Skip to content

Commit

Permalink
CI: Use ccache more broadly. It can take care of C configuration chan…
Browse files Browse the repository at this point in the history
…ges itself, no need to discard it on every config hash change.
  • Loading branch information
scoder committed Apr 3, 2024
1 parent 388bd6b commit 0db3895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -174,10 +174,10 @@ jobs:
uses: hendrikmuhs/ccache-action@v1.2
if: runner.os == 'Linux' || runner.os == 'macOS'
with:
max_size: 950M
max-size: 950M
create-symlink: true
verbose: 1
key: ${{ runner.os }}-ccache${{ matrix.extra_hash }}-${{ matrix.python-version }}-${{ matrix.env.STATIC_DEPS }}-${{ hashFiles('.github/workflows/ci.yml', 'tools/ci-run.sh') }}
key: ${{ runner.os }}-ccache${{ matrix.extra_hash }}-${{ matrix.python-version }}-${{ matrix.env.STATIC_DEPS }}

- name: Cache [libs]
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
Expand Down

0 comments on commit 0db3895

Please sign in to comment.