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 53c76f3
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ 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.
Expand All @@ -35,13 +34,11 @@ jobs:
libtinyxml-dev \
opencl-headers \
python3-pip \
xilinx-u250-xdma-dev \
xilinx-u280-xdma-dev \
python3 -m pip install --user \
git+https://github.com/Licheng-Guo/tapa-fast-cosim.git@02ecd87c4d24d6513d8c0d15af8046d5ee05a2ae
- 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 @@ -50,12 +47,7 @@ jobs:
# Some Vitis versions have a bug where xclbinutil is not found without
# manually sourcing the XRT setup script.
source "${XILINX_XRT}"/setup.sh
# Vivado doesn't like running concurrently for the first time.
(
source "${XILINX_VITIS}"/settings64.sh
vivado -mode batch -nojournal -nolog
)
source ${XILINX_VITIS}/settings64.sh
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 53c76f3

Please sign in to comment.