forked from openhwgroup/cva6
-
Notifications
You must be signed in to change notification settings - Fork 1
94 lines (88 loc) · 2.38 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# Copyright 2021 OpenHW Group
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# Run functional regression checks
name: ci
on: [push, pull_request]
jobs:
#######
# ISA #
#######
base-isa:
name: Base ISA Tests
runs-on: ubuntu-latest
env:
RISCV: /riscv
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Prepare
run: ci/setup.sh
- name: run asm tests (Write-Back Cache)
run: make run-asm-tests-verilator defines=WB_DCACHE
- name: run asm tests (Write-through Cache)
run: make run-asm-tests-verilator defines=WT_DCACHE
mul-isa:
name: Mul/Div ISA Tests
runs-on: ubuntu-latest
env:
RISCV: /riscv
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Prepare
run: ci/setup.sh
- name: run mul tests (Write-Back Cache)
run: make run-mul-verilator defines=WB_DCACHE
- name: run mul tests (Write-through Cache)
run: make run-mul-verilator defines=WT_DCACHE
amo-isa:
name: Atomic ISA Tests
runs-on: ubuntu-latest
env:
RISCV: /riscv
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Prepare
run: ci/setup.sh
- name: run amo tests (Write-Back Cache)
run: make run-amo-verilator defines=WB_DCACHE
- name: run amo tests (Write-through Cache)
run: make run-amo-verilator defines=WT_DCACHE
fp-isa:
name: Floating-point ISA Tests
runs-on: ubuntu-latest
env:
RISCV: /riscv
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Prepare
run: ci/setup.sh
- name: run fp tests (Write-through Cache)
run: make run-fp-verilator defines=WT_DCACHE
- name: run fp tests (Write-Back Cache)
run: make run-fp-verilator defines=WB_DCACHE
##############
# Benchmarks #
##############
benchmarks:
name: Benchmarks
runs-on: ubuntu-latest
env:
RISCV: /riscv
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Prepare
run: ci/setup.sh
- name: run riscv benchmarks (Write-Back Cache)
run: make run-benchmarks-verilator defines=WB_DCACHE
- name: run riscv benchmarks (Write-through Cache)
run: make run-benchmarks-verilator defines=WT_DCACHE