Skip to content

Commit

Permalink
Add CI configuration for Github (on push / pull request)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanlippuner committed Sep 22, 2023
1 parent bb7587e commit ae55fbd
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
on: [push, pull_request]

name: CI

jobs:
generation:
name: Generation
runs-on: ubuntu-22.04
steps:
- 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 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

0 comments on commit ae55fbd

Please sign in to comment.