From 0fa63c3ffba6efe26e1f14d9c9248adfd16ce31a Mon Sep 17 00:00:00 2001 From: Blaok Date: Tue, 30 Jul 2024 22:28:14 -0700 Subject: [PATCH] ci(CI): make CI work again --- .github/workflows/CI.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b3d4cca..3e104af 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,15 +12,16 @@ jobs: strategy: matrix: + xocl-platform: + - xilinx_u250_gen3x16_xdma_4_1_202210_1 xocl-version: - - 2019.2 - - 2020.2 - - 2021.1 - - 2021.2 + - 2023.2 env: # Cannot source Xilinx scripts because they mess up many system libraries. + XILINX_HLS: /opt/tools/xilinx/Vitis_HLS/${{ matrix.xocl-version }} XILINX_VITIS: /opt/tools/xilinx/Vitis/${{ matrix.xocl-version }} + XILINX_VIVADO: /opt/tools/xilinx/Vivado/${{ matrix.xocl-version }} steps: - name: Checkout myself @@ -29,19 +30,17 @@ jobs: run: | sudo apt-get update sudo apt-get install -y --no-install-recommends \ - cmake \ libgflags-dev \ libgoogle-glog-dev \ libtinyxml-dev \ opencl-headers \ python3-pip \ - xilinx-u250-xdma-dev \ - xilinx-u280-xdma-dev \ + sudo python3 -m pip install cmake python3 -m pip install --user \ - git+https://github.com/Licheng-Guo/tapa-fast-cosim.git@02ecd87c4d24d6513d8c0d15af8046d5ee05a2ae + git+https://github.com/UCLA-VAST/tapa-fast-cosim.git@93646a999b786e94626982700dfaf708fe3deec0 - name: Configure myself - run: cmake -S. -Bbuild + run: cmake -S. -Bbuild -DXRT_PLATFORM=${{ matrix.xocl-platform }} - name: Build myself run: cmake --build build --target all - name: Test myself @@ -57,5 +56,4 @@ jobs: ) ctest --verbose --parallel $(nproc) - name: Run TAPA fast cosim - if: ${{ matrix.xocl-version == '2020.2' }} run: cmake --build build --target xdma-xosim