Skip to content

Commit

Permalink
[ci] enable fail-on-cache-miss
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Aug 5, 2024
1 parent 56a69fc commit 74dc85b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/benchmark_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
cache-name: cache-gcc-binaries
with:
path: ./Toolchain
fail-on-cache-miss: true
key: gcc-binaries-${{ steps.dates.outputs.today }}
restore-keys: |
gcc-binaries-${{ steps.dates.outputs.yesterday }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
cache-name: cache-gcc-binaries
with:
path: ./Toolchain
fail-on-cache-miss: true
key: gcc-binaries-${{ steps.dates.outputs.today }}
restore-keys: |
gcc-binaries-${{ steps.dates.outputs.yesterday }}
Expand Down Expand Up @@ -87,6 +88,7 @@ jobs:
cache-name: cache-gcc-binaries
with:
path: ./Toolchain
fail-on-cache-miss: true
key: gcc-binaries-${{ steps.dates.outputs.today }}
restore-keys: |
gcc-binaries-${{ steps.dates.outputs.yesterday }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_spike.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
cache-name: cache-gcc-binaries
with:
path: ./Toolchain
fail-on-cache-miss: true
key: gcc-binaries-${{ steps.date.outputs.date }}
restore-keys: |
gcc-binaries-
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
cache-name: cache-gcc-binaries
with:
path: ./Toolchain
fail-on-cache-miss: true
key: gcc-binaries-${{ steps.dates.outputs.today }}
restore-keys: |
gcc-binaries-${{ steps.dates.outputs.yesterday }}
Expand All @@ -81,6 +82,7 @@ jobs:
cache-name: cache-spike-binaries
with:
path: ./Sim/Spike/bin
fail-on-cache-miss: true
key: spike-binaries-${{ steps.dates.outputs.today }}
restore-keys: |
spike-binaries-${{ steps.dates.outputs.yesterday }}
Expand Down Expand Up @@ -133,6 +135,7 @@ jobs:
cache-name: cache-gcc-binaries
with:
path: ./Toolchain
fail-on-cache-miss: true
key: gcc-binaries-${{ steps.dates.outputs.today }}
restore-keys: |
gcc-binaries-${{ steps.dates.outputs.yesterday }}
Expand All @@ -153,6 +156,7 @@ jobs:
cache-name: cache-spike-binaries
with:
path: ./Sim/Spike/bin
fail-on-cache-miss: true
key: spike-binaries-${{ steps.dates.outputs.today }}
restore-keys: |
spike-binaries-${{ steps.dates.outputs.yesterday }}
Expand Down Expand Up @@ -215,6 +219,7 @@ jobs:
cache-name: cache-gcc-binaries
with:
path: ./Toolchain
fail-on-cache-miss: true
key: gcc-binaries-${{ steps.dates.outputs.today }}
restore-keys: |
gcc-binaries-${{ steps.dates.outputs.yesterday }}
Expand All @@ -235,6 +240,7 @@ jobs:
cache-name: cache-spike-binaries
with:
path: ./Sim/Spike/bin
fail-on-cache-miss: true
key: spike-binaries-${{ steps.dates.outputs.today }}
restore-keys: |
spike-binaries-${{ steps.dates.outputs.yesterday }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/quick_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
cache-name: cache-gcc-binaries
with:
path: ./Toolchain
fail-on-cache-miss: true
key: gcc-binaries-${{ steps.date.outputs.date }}
restore-keys: |
gcc-binaries-
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
cache-name: cache-gcc-binaries
with:
path: ./Toolchain
fail-on-cache-miss: true
key: gcc-binaries-${{ steps.dates.outputs.today }}
restore-keys: |
gcc-binaries-${{ steps.dates.outputs.yesterday }}
Expand All @@ -80,6 +81,7 @@ jobs:
cache-name: cache-spike-binaries
with:
path: ./Sim/Spike/bin
fail-on-cache-miss: true
key: spike-binaries-${{ steps.dates.outputs.today }}
restore-keys: |
spike-binaries-${{ steps.dates.outputs.yesterday }}
Expand Down

0 comments on commit 74dc85b

Please sign in to comment.