lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master d898c456 1/5: Use compiler and architecture a


From: Vadim Zeitlin
Subject: [lmi-commits] [lmi] master d898c456 1/5: Use compiler and architecture as ccache cache key
Date: Sat, 11 Feb 2023 15:04:38 -0500 (EST)

branch: master
commit d898c45652d6a7b34274b157efb4546b740cbb2b
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Vadim Zeitlin <vadim@tt-solutions.com>

    Use compiler and architecture as ccache cache key
    
    In principle, it should be possible to reuse the cache between different
    builds using the same compiler and architecture.
---
 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c2d565c4..9e6be5c4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -124,7 +124,7 @@ jobs:
       - name: Install CCache
         uses: hendrikmuhs/ccache-action@v1.2.5
         with:
-          key: ${{ matrix.name }}
+          key: ${{ matrix.compiler || 'gcc' }}-${{ matrix.triplet || 
'x86_64-pc-linux-gnu' }}
           max-size: 900M
           verbose: 2
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]