nextpnr/.github/workflows/interchange_ci.yml
Alessandro Comodi c68dfb09c4 github-actions: add basic CI to test FPGA interchange
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-16 15:39:02 +01:00

28 lines
614 B
YAML

name: FPGA interchange CI tests
on: [push, pull_request]
jobs:
Run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-python@v2
- name: Install
run: |
sudo apt-get update
sudo apt-get install git make cmake libboost-all-dev python3-dev libeigen3-dev tcl-dev clang bison flex swig
- name: Execute build script
run: stdbuf -i0 -o0 -e0 ./.github/ci/build_interchange.sh
- name: Execute test script
run: |
cd build && make all-fpga_interchange-tests -j`nproc`