aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/interchange_ci.yml27
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`