Skip to content

Commit

Permalink
One cache per ref
Browse files Browse the repository at this point in the history
  • Loading branch information
fdr400 committed Jan 6, 2025
1 parent c1487ba commit 38556eb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
path: |
${{env.CCACHE_DIR}}
${{env.CPM_SOURCE_CACHE}}
key: 'alpine-cache-dir ${{github.ref}} run-${{github.run_number}}'
key: 'alpine-cache-dir ${{github.ref}}'
restore-keys: |
alpine-cache-dir ${{github.ref}} run-
alpine-cache-dir ${{github.ref}}
alpine-cache-dir
- name: Setup host cache dirs
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
-DUSERVER_NAMESPACE_END="}}"
os: ubuntu-24.04
info: clang-18 + debug + sanitize addr+ub
id: ubuntu24_clang18_debug_sanitize-addr-ub
tests-flags: ''
- cmake-flags: >-
Expand All @@ -55,6 +56,7 @@ jobs:
-DUSERVER_NAMESPACE_END="}}"
os: ubuntu-22.04
info: clang-14 + debug + sanitize addr+ub
id: ubuntu22_clang14_debug_sanitize-addr-ub
tests-flags: ''
- cmake-flags: >-
Expand All @@ -71,6 +73,7 @@ jobs:
-DUSERVER_DOWNLOAD_PACKAGE_ABSEIL=0
os: ubuntu-20.04
info: g++-9 + release
id: ubuntu20_gcc9_release
tests-flags: '--gtest_filter=-HttpClient.RedirectHeaders:HttpClient.TestUseIPv4v6'
# GCC-8 - testing minimal required compiler
Expand All @@ -90,6 +93,7 @@ jobs:
-DUSERVER_DOWNLOAD_PACKAGE_ABSEIL=0
os: ubuntu-20.04
info: g++-8 + debug
id: ubuntu20_gcc8_debug
tests-flags: '--gtest_filter=-HttpClient.RedirectHeaders:HttpClient.TestUseIPv4v6'
name: '${{matrix.os}}: ${{matrix.info}}'
Expand All @@ -107,10 +111,10 @@ jobs:
path: |
${{env.CCACHE_DIR}}
${{env.CPM_SOURCE_CACHE}}
key: '${{matrix.os}} ${{matrix.info}} ccache-dir ${{github.ref}} run-${{github.run_number}}'
key: 'ubuntu-cache-dir ${{matrix.id}} ${{github.ref}}'
restore-keys: |
${{matrix.os}} ${{matrix.info}} ccache-dir ${{github.ref}} run-
${{matrix.os}} ${{matrix.info}} ccache-
ubuntu-cache-dir ${{matrix.id}} ${{github.ref}}
ubuntu-cache-dir ${{matrix.id}}
- name: Setup ramdrive for testsuites
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ jobs:
path: |
.ccache
.cache/CPM
key: 'docker-cache-dir ${{ matrix.id }} ${{github.ref}} run-${{github.run_number}}'
key: 'docker-cache-dir ${{matrix.id}} ${{github.ref}}'
restore-keys: |
docker-cache-dir ${{ matrix.id }} ${{github.ref}} run-
docker-cache-dir ${{ matrix.id }}
docker-cache-dir ${{matrix.id}} ${{github.ref}}
docker-cache-dir ${{matrix.id}}
- name: Free disk space
run: |
Expand Down

0 comments on commit 38556eb

Please sign in to comment.