forked from librebmc/lpcperipheral
ci: add github actions workflow
Add running the unit tests and building the verilog output. Signed-off-by: Michael Neuling <mikey@neuling.org>master
parent
ef2f91127c
commit
0d4c7bd55a
@ -0,0 +1,18 @@
|
|||||||
|
name: test
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
Unittests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- run: pip3 install 'git+https://github.com/nmigen/nmigen.git'
|
||||||
|
- run: pip3 install 'git+https://github.com/nmigen/nmigen-soc.git'
|
||||||
|
- run: python -m unittest -v
|
||||||
|
|
||||||
|
Verilog:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- run: pip install git+https://github.com/nmigen/nmigen.git#egg=nmigen[builtin-yosys]
|
||||||
|
- run: pip3 install 'git+https://github.com/nmigen/nmigen-soc.git'
|
||||||
|
- run: python -m lpcperipheral.lpcperipheral
|
Loading…
Reference in New Issue