-
Notifications
You must be signed in to change notification settings - Fork 1
70 lines (59 loc) · 1.42 KB
/
simulate.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
---
name: "CI"
on:
pull_request:
push:
# Comment out this section to enable testing of all branches.
branches:
- master
jobs:
behavioral:
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
behs:
- road/tb/subfunc.py
- road/tb/pat_unit_beh.py
- road/tb/pat_unit_mux_beh.py
- road/tb/partition_beh.py
- road/tb/chamber_beh.py
- road/tb/analysis_mc.py
steps:
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Test Behaviors
run: pytest ${{ matrix.behs }}
cocotb:
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
testbenches:
- road/tb/test_mult.py
- road/tb/test_fit.py
- road/tb/test_pat_unit.py
- road/tb/test_pat_unit_mux.py
- road/tb/test_partition.py
- road/tb/test_chamber.py
steps:
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Test Firmware Module
run: python ${{ matrix.testbenches }}
synth:
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
testbenches:
- synth_pat_unit
- synth_chamber
steps:
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Synthesize Firmware
run: make -C road/hdl ${{ matrix.testbenches }}