Skip to content

Commit 9b85375

Browse files
committed
[#25494] Added DDSRecordReplay dependencies
Signed-off-by: danipiza <dpizarrogallego@gmail.com>
1 parent 6a6ff76 commit 9b85375

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/downstream-ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,22 @@ jobs:
8585
with:
8686
cmake_build_type: ${{ matrix.cmake_build_type }}
8787

88+
# DDS Record Replay needs lz4 and zstd for MCAP compression (installed via
89+
# apt on Linux and vcpkg on Windows). No other downstream tool requires them.
90+
- name: Install MCAP dependencies (lz4, zstd)
91+
if: matrix.tool.name == 'ddsrecordreplay'
92+
uses: ./src/ddsrecordreplay/.github/actions/install_mcap_dependencies
93+
with:
94+
cmake_build_type: ${{ matrix.cmake_build_type }}
95+
96+
# On Windows the mcap action installs lz4/zstd through vcpkg; expose that
97+
# prefix so CMake's find_package(lz4)/find_package(zstd) can locate them.
98+
- name: Expose vcpkg packages to CMake (Windows)
99+
if: matrix.tool.name == 'ddsrecordreplay' && runner.os == 'Windows'
100+
shell: pwsh
101+
run: |
102+
"CMAKE_PREFIX_PATH=$env:vcpkg_install_path;$env:CMAKE_PREFIX_PATH" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
103+
88104
# Prebuilt Fast DDS + dev-utils. DDS Pipe itself is built from source (checked out above),
89105
# so this run reflects the DDS Pipe changes, not the nightly artifact
90106
- name: Download Fast DDS + dev-utils artifact

0 commit comments

Comments
 (0)