Skip to content

Commit

Permalink
ci: specify repo refs in build_spike.yml"
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Sep 28, 2024
1 parent f717c0a commit 73831a5
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build_spike.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ on:
jobs:
Build_Spike:
runs-on: ubuntu-22.04
strategy:
matrix:
spike_ref:
- master
pk_ref:
- 1a52fa44aba49307137ea2ad5263613da33a877b

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -46,7 +52,9 @@ jobs:
- name: Clone Spike Repo
working-directory: ./Sim/Spike
run: git clone https://github.com/riscv-software-src/riscv-isa-sim.git
run: |
git clone https://github.com/riscv-software-src/riscv-isa-sim.git
git -C riscv-isa-sim checkout ${{ matrix.spike_ref }}
- name: Build Spike
working-directory: ./Sim/Spike/riscv-isa-sim
Expand All @@ -63,7 +71,9 @@ jobs:
- name: Clone PK Repo
working-directory: ./Sim/Spike
run: git clone https://github.com/riscv-software-src/riscv-pk.git
run: |
git clone https://github.com/riscv-software-src/riscv-pk.git
git -C riscv-pk checkout ${{ matrix.pk_ref }}
- name: Build PK for ilp32d
working-directory: ./Sim/Spike/riscv-pk
Expand Down

0 comments on commit 73831a5

Please sign in to comment.