diff options
author | Alessandro Comodi <acomodi@antmicro.com> | 2021-03-16 15:37:42 +0100 |
---|---|---|
committer | Alessandro Comodi <acomodi@antmicro.com> | 2021-03-16 15:39:02 +0100 |
commit | c68dfb09c4993a24d4f2a3f62871937c48c9151a (patch) | |
tree | 59e36ba0dbbe5bc138edb30b695dd4e9a72ec81c /.github/workflows | |
parent | f63a9a48a489a3e54ee44daf77211eba957a6e4d (diff) | |
download | nextpnr-c68dfb09c4993a24d4f2a3f62871937c48c9151a.tar.gz nextpnr-c68dfb09c4993a24d4f2a3f62871937c48c9151a.tar.bz2 nextpnr-c68dfb09c4993a24d4f2a3f62871937c48c9151a.zip |
github-actions: add basic CI to test FPGA interchange
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/interchange_ci.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/interchange_ci.yml b/.github/workflows/interchange_ci.yml new file mode 100644 index 00000000..66cdfc6c --- /dev/null +++ b/.github/workflows/interchange_ci.yml @@ -0,0 +1,27 @@ +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` |