Skip to content

Commit

Permalink
ci(CI): make CI work again
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaok committed Jul 31, 2024
1 parent fcf66d6 commit 0fa63c3
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 0fa63c3

Please sign in to comment.