Skip to content

Commit

Permalink
Pin spike version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ksco committed Nov 16, 2023
1 parent b4f0fad commit 781228f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Get Spike Cache Key
id: get-spike-cache-key
run: |
echo "key=$(git ls-remote https://github.com/riscv-software-src/riscv-isa-sim.git HEAD | awk '{print $1}')" >> $GITHUB_OUTPUT
echo "key=5a1145742e701597eb45825855311dfad21232a6" >> $GITHUB_OUTPUT
- name: Cache Spike
id: cache-spike
Expand All @@ -42,7 +42,8 @@ jobs:
- name: Build Spike
if: steps.cache-spike.outputs.cache-hit != 'true'
run: |
git clone --depth=1 https://github.com/riscv-software-src/riscv-isa-sim.git
git clone https://github.com/riscv-software-src/riscv-isa-sim.git
git reset --hard 5a1145742e701597eb45825855311dfad21232a6
cd riscv-isa-sim
mkdir build
cd build
Expand Down

0 comments on commit 781228f

Please sign in to comment.