aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/interchange_ci.yml
blob: 1ca42bb7dcd2e368fb4d206420e23ffb483dc1f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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: Run tests
      run: |
        cd build
        make all-fpga_interchange-archcheck-tests -j`nproc`
        make all-fpga_interchange-tests -j`nproc`