Skip to content

Commit

Permalink
Add priv_sec testsuite in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dpretet committed Sep 13, 2023
1 parent 939c0bd commit fee2e0e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- run: brew install yosys
- run: ./flow.sh syn
WBA-testsuite:
WBA-Testsuite:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -27,6 +27,20 @@ jobs:
- run: ./flow.sh sim wba-testsuite core verilator
- run: ./flow.sh sim wba-testsuite platform icarus
- run: ./flow.sh sim wba-testsuite platform verilator
Privilege-Security-Testsuite:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: brew install icarus-verilog
- run: iverilog -V
- run: brew install verilator
- run: verilator -V
- run: brew install md5sha1sum
- run: git submodule update --init --recursive
- run: ./flow.sh sim priv_sec-testsuite core icarus
- run: ./flow.sh sim priv_sec-testsuite core verilator
- run: ./flow.sh sim priv_sec-testsuite platform icarus
- run: ./flow.sh sim priv_sec-testsuite platform verilator
RISCV-Compliance:
runs-on: macos-latest
steps:
Expand All @@ -41,7 +55,7 @@ jobs:
- run: ./flow.sh sim riscv-testsuite core verilator
- run: ./flow.sh sim riscv-testsuite platform icarus
- run: ./flow.sh sim riscv-testsuite platform verilator
C-testsuite:
C-Testsuite:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -55,7 +69,7 @@ jobs:
- run: ./flow.sh sim c-testsuite core verilator
- run: ./flow.sh sim c-testsuite platform icarus
- run: ./flow.sh sim c-testsuite
SV-testsuite:
SV-Testsuite:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
Expand Down
7 changes: 7 additions & 0 deletions flow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,13 @@ main() {
run_sims "$TB" "$SIMULATOR"
fi

if [ "$2" == "priv_sec-testsuite" ] || [ "$2" == "all" ]; then
echo ""
printinfo "Start Privilege/Security Simulation flow"
cd "${FRISCV_DIR}/test/priv_sec_testsuite"
run_sims "$TB" "$SIMULATOR"
fi

if [ "$2" == "sv-testsuite" ] || [ "$2" == "all" ]; then
echo ""
printinfo "Start SV Simulation flow"
Expand Down

0 comments on commit fee2e0e

Please sign in to comment.