Skip to content

Commit

Permalink
setup ci testing (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
Risto97 authored Sep 14, 2024
1 parent 4215c56 commit c89b452
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: testing_workflow

# execute this workflow automatically when a we push to master
on: [push]

jobs:

testing:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: Install dependencies
run: |
sudo apt-get install cmake sudo iverilog make g++
pip install peakrdl
- name: run tests
run: |
mkdir build
cd build
cmake -DSOCMAKE_BUILD_TESTING=TRUE ../
make check

0 comments on commit c89b452

Please sign in to comment.