Skip to content

Commit f9e9ea3

Browse files
committed
ci: trigger riscv tests only on wb configuration
1 parent 8764080 commit f9e9ea3

1 file changed

Lines changed: 66 additions & 72 deletions

File tree

.github/workflows/ci.yml

Lines changed: 66 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,9 @@ jobs:
6363
strategy:
6464
matrix:
6565
testcase: [ cv64a6_imafdc_tests ]
66-
config: [ cv64a6_imafdc_sv39_hpdcache, cv64a6_imafdc_sv39_hpdcache_wb, cv64a6_imafdc_sv39_wb, cv64a6_imafdc_sv39 ]
66+
config: [ cv64a6_imafdc_sv39_wb ]
6767
simulator: [ veri-testharness ]
68-
include:
69-
- testcase: dv-riscv-arch-test
70-
config: cv64a6_imafdc_sv39_hpdcache
71-
simulator: veri-testharness
72-
- testcase: dv-riscv-arch-test
73-
config: cv64a6_imafdc_sv39_hpdcache_wb
74-
simulator: veri-testharness
68+
7569
needs:
7670
build-riscv-tests
7771
steps:
@@ -128,67 +122,67 @@ jobs:
128122
retention-days: 10
129123

130124

131-
execute-riscv32-tests:
132-
name: execute-riscv32-tests
133-
runs-on: ubuntu-latest
134-
env:
135-
SPIKE_TANDEM: 1
136-
strategy:
137-
matrix:
138-
testcase: [ dv-riscv-arch-test, cv32a6_tests ]
139-
config: [ cv32a65x ]
140-
simulator: [ veri-testharness ]
141-
needs:
142-
build-riscv-tests
143-
steps:
144-
- uses: actions/checkout@v4
145-
with:
146-
submodules: recursive
147-
148-
- name: Get specific submodule hash
149-
id: core-v-submodule-hash
150-
run: |
151-
cd verif/core-v-verif
152-
echo "hash=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
153-
154-
- name: Cache toolchain
155-
id: cache-toolchain
156-
uses: actions/cache@v3
157-
env:
158-
cache-name: cache-toolchain
159-
with:
160-
path: tools/riscv-toolchain/
161-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('ci/install-toolchain.sh') }}
162-
163-
- name: Cache verilator
164-
id: cache-verilator
165-
uses: actions/cache@v3
166-
env:
167-
cache-name: cache-verilator
168-
with:
169-
path: tools/verilator/
170-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('verif/regress/install-verilator.sh') }}
171-
172-
- name: Cache Spike
173-
id: cache-spike
174-
uses: actions/cache@v3
175-
env:
176-
cache-name: cache-spike
177-
with:
178-
path: tools/spike/
179-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('verif/regress/install-spike.sh')}}-${{ steps.core-v-submodule-hash.outputs.hash }}
180-
181-
- name: Run Tests
182-
run: |
183-
set -x
184-
export RISCV=$(pwd)/tools/riscv-toolchain/
185-
source ci/install-prereq.sh
186-
source verif/sim/setup-env.sh
187-
DV_SIMULATORS=${{matrix.simulator}},spike DV_TARGET=${{matrix.config}} bash verif/regress/${{matrix.testcase}}.sh
188-
189-
- name: Upload Lint Report to Github
190-
uses: actions/upload-artifact@v4
191-
with:
192-
name: ${{matrix.simulator}}.${{matrix.testcase}}.${{matrix.config}}
193-
path: 'verif/sim/out*'
194-
retention-days: 10
125+
# execute-riscv32-tests:
126+
# name: execute-riscv32-tests
127+
# runs-on: ubuntu-latest
128+
# env:
129+
# SPIKE_TANDEM: 1
130+
# strategy:
131+
# matrix:
132+
# testcase: [ dv-riscv-arch-test, cv32a6_tests ]
133+
# config: [ cv32a65x ]
134+
# simulator: [ veri-testharness ]
135+
# needs:
136+
# build-riscv-tests
137+
# steps:
138+
# - uses: actions/checkout@v4
139+
# with:
140+
# submodules: recursive
141+
142+
# - name: Get specific submodule hash
143+
# id: core-v-submodule-hash
144+
# run: |
145+
# cd verif/core-v-verif
146+
# echo "hash=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
147+
148+
# - name: Cache toolchain
149+
# id: cache-toolchain
150+
# uses: actions/cache@v3
151+
# env:
152+
# cache-name: cache-toolchain
153+
# with:
154+
# path: tools/riscv-toolchain/
155+
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('ci/install-toolchain.sh') }}
156+
157+
# - name: Cache verilator
158+
# id: cache-verilator
159+
# uses: actions/cache@v3
160+
# env:
161+
# cache-name: cache-verilator
162+
# with:
163+
# path: tools/verilator/
164+
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('verif/regress/install-verilator.sh') }}
165+
166+
# - name: Cache Spike
167+
# id: cache-spike
168+
# uses: actions/cache@v3
169+
# env:
170+
# cache-name: cache-spike
171+
# with:
172+
# path: tools/spike/
173+
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('verif/regress/install-spike.sh')}}-${{ steps.core-v-submodule-hash.outputs.hash }}
174+
175+
# - name: Run Tests
176+
# run: |
177+
# set -x
178+
# export RISCV=$(pwd)/tools/riscv-toolchain/
179+
# source ci/install-prereq.sh
180+
# source verif/sim/setup-env.sh
181+
# DV_SIMULATORS=${{matrix.simulator}},spike DV_TARGET=${{matrix.config}} bash verif/regress/${{matrix.testcase}}.sh
182+
183+
# - name: Upload Lint Report to Github
184+
# uses: actions/upload-artifact@v4
185+
# with:
186+
# name: ${{matrix.simulator}}.${{matrix.testcase}}.${{matrix.config}}
187+
# path: 'verif/sim/out*'
188+
# retention-days: 10

0 commit comments

Comments
 (0)