Skip to content

Commit 5d16182

Browse files
authored
Merge pull request #944 from Logic-Design-Services/add-sanity-test
ci: add sanity test action.
2 parents 20a80f5 + 782a15b commit 5d16182

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/sanity-test.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Sanity test
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
7+
Sanity_test:
8+
runs-on: ubuntu-latest
9+
10+
container:
11+
image: ghcr.io/logic-design-services/digital-simulation
12+
13+
permissions:
14+
contents: read
15+
packages: read
16+
17+
steps:
18+
- name: "Checkout repository"
19+
uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 1
22+
submodules: 'recursive'
23+
24+
- name: "Build compliance library"
25+
run: |
26+
cd test/main_tb/iso-16845-compliance-tests
27+
./build.sh
28+
29+
- name: "Run Device ID test"
30+
run: |
31+
cd test
32+
export CTU_TB_TOP_TARGET="tb_ctu_can_fd_rtl_vunit"
33+
./run.py tb_rtl_small_asic_max_feature ctu_can_fd_tb.tb_top_ctu_can_fd.tb_rtl_small_asic_max_feature.device_id -v

0 commit comments

Comments
 (0)