Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fdr400 committed Jan 4, 2025
1 parent 37867f1 commit e1e3f72
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ jobs:
- name: Setup ccache
uses: Chocobo1/setup-ccache-action@v1
with:
override_cache_key: ${{ steps.restore-cache.outputs.cache-matched-key }}
override_cache_key_fallback: |
alpine-cache-dir ${{github.ref}} run-
alpine-cache-dir
ccache_options: |
max_size=3GB
cache_dir=${{env.CCACHE_DIR}}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ jobs:
- name: Setup ccache
uses: Chocobo1/setup-ccache-action@v1
with:
override_cache_key: ${{ steps.restore-cache.outputs.cache-matched-key }}
override_cache_key_fallback: |
${{matrix.os}} ${{matrix.info}} ccache-dir ${{github.ref}} run-
${{matrix.os}} ${{matrix.info}} ccache-
ccache_options: |
max_size=3GB
cache_dir=${{env.CCACHE_DIR}}
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,15 @@ jobs:
brew link postgresql@16 # postgresql is keg-only
- name: Setup ccache
run: |
ccache -M 2.0GB
ccache -s -v
uses: Chocobo1/setup-ccache-action@v1
with:
override_cache_key: ${{ steps.restore-cache.outputs.cache-matched-key }}
override_cache_key_fallback: |
macos-cache-dir ${{github.ref}} run-
macos-cache-dir
ccache_options: |
max_size=3GB
cache_dir=${{env.CCACHE_DIR}}
- name: Run cmake
run: |
Expand Down

0 comments on commit e1e3f72

Please sign in to comment.