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 2a5deb7
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build_spike.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
jobs:
Build_Spike:
runs-on: ubuntu-22.04
matrix:
spike_ref:
- master
pk_ref:
- 1a52fa44aba49307137ea2ad5263613da33a877b

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -46,7 +51,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 ./Sim/Spike/riscv-isa-sim checkout ${{ matrix.spike_ref }}
- name: Build Spike
working-directory: ./Sim/Spike/riscv-isa-sim
Expand All @@ -63,7 +70,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 ./Sim/Spike/riscv-pk checkout ${{ matrix.pk_ref }}
- name: Build PK for ilp32d
working-directory: ./Sim/Spike/riscv-pk
Expand Down

0 comments on commit 2a5deb7

Please sign in to comment.