forked from tgingold-cern/cheby
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (45 loc) · 1.3 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
on: [push, pull_request]
name: CI
jobs:
generation:
name: Generation
runs-on: ubuntu-22.04
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Tools
run: |
sudo apt-get install ghdl
wget https://github.com/apptainer/apptainer/releases/download/v1.2.4/apptainer_1.2.4_amd64.deb -O /tmp/apptainer.deb
sudo dpkg -i /tmp/apptainer.deb && false
sudo apt-get install -f
.github/verilator_apptainer --version
- name: Setup Python venv
run: |
python3 -m venv .venv
source .venv/bin/activate
python -V
pip install -r requirements.txt
- name: Test Generation
run: |
export VERILATOR=$(pwd)/.github/verilator_apptainer
cd proto
python3 tests.py
interaction:
name: Interaction
runs-on: ubuntu-22.04
steps:
- name: Install GHDL
run: sudo apt-get install ghdl
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Python venv
run: |
python3 -m venv .venv
source .venv/bin/activate
python -V
pip install -r requirements.txt
- name: Test Generation
run: |
cd testfiles/tb
./run.sh