diff --git a/.github/workflows/config/test.meta b/.github/workflows/config/test.meta index fc086118..327b64df 100644 --- a/.github/workflows/config/test.meta +++ b/.github/workflows/config/test.meta @@ -2,7 +2,6 @@ names: fastdds_python: cmake-args: - "-DBUILD_TESTING=ON" - - "-DBUILD_DOCUMENTATION=ON" ctest-args: [ "--repeat", "until-pass:3", "--timeout", "300", diff --git a/.github/workflows/reusable-ubuntu-ci.yml b/.github/workflows/reusable-ubuntu-ci.yml index 1fbd1e19..67b34afa 100644 --- a/.github/workflows/reusable-ubuntu-ci.yml +++ b/.github/workflows/reusable-ubuntu-ci.yml @@ -42,7 +42,8 @@ on: required: false type: boolean default: true - +env: + colcon-build-default-cmake-args: '-DBUILD_DOCUMENTATION=ON' defaults: run: shell: bash @@ -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 }}