Skip to content

Commit

Permalink
[ci] try to fix the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario committed Sep 4, 2024
1 parent da72ccb commit 021a517
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ jobs:
cache-name: cache-spike
with:
path: tools/spike/
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('verif/regress/install-spike.sh',
'verif/core-v-verif/') }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('verif/regress/install-spike.sh'}}-${{ steps.core-v-submodule-hash.outputs.hash }}

- name: Prepare
run: |
Expand Down Expand Up @@ -96,8 +95,7 @@ jobs:
cache-name: cache-spike
with:
path: tools/spike/
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('verif/regress/install-spike.sh',
'verif/core-v-verif/') }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('verif/regress/install-spike.sh'}}-${{ steps.core-v-submodule-hash.outputs.hash }}

- name: Run Tests
run: |
Expand Down Expand Up @@ -132,6 +130,12 @@ jobs:
with:
submodules: recursive

- name: Get specific submodule hash
id: core-v-submodule-hash
run: |
cd verif/core-v-verif
echo "::set-output name=hash::$(git rev-parse HEAD)"
- name: Cache toolchain
id: cache-toolchain
uses: actions/cache@v3
Expand All @@ -157,8 +161,7 @@ jobs:
cache-name: cache-spike
with:
path: tools/spike/
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('verif/regress/install-spike.sh',
'verif/core-v-verif/') }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('verif/regress/install-spike.sh'}}-${{ steps.core-v-submodule-hash.outputs.hash }}

- name: Run Tests
run: |
Expand Down

0 comments on commit 021a517

Please sign in to comment.