-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 989 Bytes
/
tests.yaml
File metadata and controls
42 lines (35 loc) · 989 Bytes
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
name: VUnit Tests
on:
workflow_dispatch:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pillow numpy pathlib scikit-image argparse
pip install vunit_hdl --pre
- uses: ghdl/setup-ghdl@v1
with:
version: 5.1.1
backend: mcode
investigate: true
- name: Verify GHDL in PATH
run: |
which ghdl || true
ghdl --version || true
- name: Run VUnit tests
run: python scripts/run.py "*gray=True,gauss=True,sobel=True*" -v -o scripts/vunit_out
- name: Archive run results
uses: actions/upload-artifact@v4
with:
name: vunit-out
path: scripts/vunit_out