ci: add GitHub Actions workflow 'pyFPGA'
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
parent
eeac9239d7
commit
849d3efd48
|
@ -0,0 +1,26 @@
|
||||||
|
name: py4FPGA
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
Run-tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
# with:
|
||||||
|
# submodules: recursive
|
||||||
|
|
||||||
|
- name: Test py4FPGA
|
||||||
|
run: |
|
||||||
|
pip3 install -r f4pga/requirements.txt
|
||||||
|
|
||||||
|
PYTHONPATH=$(pwd)/f4pga python3 f4pga/sfbuild.py
|
||||||
|
|
||||||
|
PYTHONPATH=$(pwd)/f4pga python3 f4pga/sfbuild.py -h
|
Loading…
Reference in New Issue