Skip to content

Commit 2cc0571

Browse files
committed
Refs #21228: Move build documentation in tests steps only in Ubuntu CI
Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
1 parent e9d9759 commit 2cc0571

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/config/test.meta

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ names:
22
fastdds_python:
33
cmake-args:
44
- "-DBUILD_TESTING=ON"
5-
- "-DBUILD_DOCUMENTATION=ON"
65
ctest-args: [
76
"--repeat", "until-pass:3",
87
"--timeout", "300",

.github/workflows/reusable-ubuntu-ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ on:
4242
required: false
4343
type: boolean
4444
default: true
45-
45+
env:
46+
colcon-build-default-cmake-args: '-DBUILD_DOCUMENTATION=ON'
4647
defaults:
4748
run:
4849
shell: bash
@@ -164,7 +165,7 @@ jobs:
164165
- name: Install apt packages
165166
uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@v0
166167
with:
167-
packages: libasio-dev libtinyxml2-dev libssl-dev swig
168+
packages: libasio-dev libtinyxml2-dev libssl-dev swig doxygen
168169

169170
- name: Install colcon
170171
uses: eProsima/eProsima-CI/ubuntu/install_colcon@v0
@@ -188,7 +189,7 @@ jobs:
188189
colcon_meta_file: ${{ github.workspace }}/src/fastdds_python/.github/workflows/config/build.meta ${{ github.workspace }}/src/fastdds_python/.github/workflows/config/test.meta
189190
colcon_build_args: ${{ inputs.colcon-args }}
190191
cmake_args: ${{ inputs.cmake-args }}
191-
cmake_args_default: ''
192+
cmake_args_default: ${{ env.colcon-build-default-cmake-args }}
192193
cmake_build_type: ${{ matrix.cmake-build-type }}
193194
workspace: ${{ github.workspace }}
194195

0 commit comments

Comments
 (0)