From 849d3efd48841706f6510f8ba27b0720c9466134 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Sun, 27 Feb 2022 15:27:49 +0100 Subject: [PATCH] ci: add GitHub Actions workflow 'pyFPGA' Signed-off-by: Unai Martinez-Corral --- .github/workflows/pyF4PGA.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/pyF4PGA.yml diff --git a/.github/workflows/pyF4PGA.yml b/.github/workflows/pyF4PGA.yml new file mode 100644 index 0000000..657dea9 --- /dev/null +++ b/.github/workflows/pyF4PGA.yml @@ -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