From 9f28fa4e75e30eb8329e737081a97189b05f013e Mon Sep 17 00:00:00 2001 From: Alessandro Comodi Date: Wed, 24 Mar 2021 11:11:29 +0100 Subject: gh-actions: interchange: multiple jobs, one for each device Signed-off-by: Alessandro Comodi --- .github/workflows/interchange_ci.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/interchange_ci.yml b/.github/workflows/interchange_ci.yml index 0819aa07..3de87198 100644 --- a/.github/workflows/interchange_ci.yml +++ b/.github/workflows/interchange_ci.yml @@ -3,9 +3,11 @@ name: FPGA interchange CI tests on: [push, pull_request] jobs: - - Run-tests: + Run-Tests: runs-on: ubuntu-latest + strategy: + matrix: + device: [xc7a35t, xc7a100t, xc7a200t, xc7z010] steps: - uses: actions/checkout@v2 @@ -19,11 +21,14 @@ jobs: 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 + - name: Execute build interchange script run: stdbuf -i0 -o0 -e0 ./.github/ci/build_interchange.sh - name: Run tests + env: + DEVICE: ${{ matrix.device }} run: | cd build - make all-fpga_interchange-archcheck-tests - make all-fpga_interchange-tests -j`nproc` + make chipdb-$DEVICE-bin-check-test-data + make chipdb-$DEVICE-bin-check + make all-$DEVICE-tests -j`nproc` -- cgit v1.2.3