-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 1.17 KB
/
run-examples.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
name: run-examples
run-name: run examples
on: [push]
jobs:
build-and-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install packages
run: sudo apt-get install ghdl-gcc verilator
- name: Check GHDL version
run: ghdl --version
- name: Check Verilator version
run: verilator --version
- name: run example wr-cores
run: cd examples/wr-cores; git submodule init; git submodule update; cd wr-cores; git apply ../wr-cores.patch; git submodule init; git submodule update; cd ..; make testbench; ghdl -r testbench --max-stack-alloc=524288 --stop-time=10us --ieee-asserts=disable; cd ..
- name: run example vhd_v_counter
run: make -C examples/vhd_v_counter
- name: run example m-labs-lm32
run: make -C examples/m-labs-lm32
- name: run example two_modules
run: make -C examples/two_modules
- name: run example serv
run: make -C examples/serv
- name: run example ibex
run: make -C examples/ibex
- name: run example vhdl_verilog_mixed
run: make -C examples/vhdl_verilog_mixed