Skip to content

Commit

Permalink
Refs #21228: Move build documentation in tests steps only in Ubuntu CI
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed Jun 26, 2024
1 parent 2f6f4e3 commit 2423de7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/config/test.meta
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ names:
fastdds_python:
cmake-args:
- "-DBUILD_TESTING=ON"
- "-DBUILD_DOCUMENTATION=ON"
ctest-args: [
"--repeat", "until-pass:3",
"--timeout", "300",
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/reusable-ubuntu-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ on:
required: false
type: boolean
default: true

env:
colcon-build-default-cmake-args: '-DBUILD_DOCUMENTATION=ON'
defaults:
run:
shell: bash
Expand Down Expand Up @@ -164,7 +165,7 @@ jobs:
- name: Install apt packages
uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@v0
with:
packages: libasio-dev libtinyxml2-dev libssl-dev swig
packages: libasio-dev libtinyxml2-dev libssl-dev swig doxygen

- name: Install colcon
uses: eProsima/eProsima-CI/ubuntu/install_colcon@v0
Expand All @@ -188,7 +189,7 @@ jobs:
colcon_meta_file: ${{ github.workspace }}/src/fastdds_python/.github/workflows/config/build.meta ${{ github.workspace }}/src/fastdds_python/.github/workflows/config/test.meta
colcon_build_args: ${{ inputs.colcon-args }}
cmake_args: ${{ inputs.cmake-args }}
cmake_args_default: ''
cmake_args_default: ${{ env.colcon-build-default-cmake-args }}
cmake_build_type: ${{ matrix.cmake-build-type }}
workspace: ${{ github.workspace }}

Expand Down

0 comments on commit 2423de7

Please sign in to comment.