Skip to content

Commit

Permalink
Fix windows CI and add vanilla build step in ubuntu CI (#5095) (#5098)
Browse files Browse the repository at this point in the history
* Refs #21387: Fix windows CI

Signed-off-by: JesusPoderoso <[email protected]>

* Refs #21387: Add vanilla build in ubuntu CI

Signed-off-by: JesusPoderoso <[email protected]>

---------

Signed-off-by: JesusPoderoso <[email protected]>
(cherry picked from commit 55ca0aa)

Co-authored-by: Jesús Poderoso <[email protected]>
  • Loading branch information
mergify[bot] and JesusPoderoso authored Jul 23, 2024
1 parent 47cb38c commit f746b93
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/reusable-ubuntu-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -853,3 +853,14 @@ jobs:
cmake_args_default: ${{ env.colcon-build-default-cmake-args }}
cmake_build_type: ${{ matrix.cmake-build-type }}
workspace: ${{ github.workspace }}

- name: Clean workspace - No shared libs
run: |
cd ${{ github.workspace }}
rm -rf build install log
- name: Vanilla colcon build
uses: eProsima/eProsima-CI/multiplatform/colcon_build@v0
with:
cmake_build_type: ${{ matrix.cmake-build-type }}
workspace: ${{ github.workspace }}
8 changes: 1 addition & 7 deletions .github/workflows/reusable-windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,18 +141,12 @@ jobs:
destination_workspace: src
skip_existing: 'true'

- name: Prepare build meta file
uses: eProsima/eProsima-CI/windows/merge_yaml_metas@v0
with:
metas: "@('${{ github.workspace }}/src/fastrtps/.github/workflows/config/fastdds_build.meta', '${{ github.workspace }}/src/fastrtps/.github/workflows/config/fastdds_test.meta')"
path: '${{ github.workspace }}/src/fastrtps/.github/workflows/config/fastdds_build_test.meta'

- name: Build
id: build
continue-on-error: false
uses: eProsima/eProsima-CI/windows/colcon_build@v0
with:
colcon_meta_file: ${{ github.workspace }}\src\fastrtps\.github\workflows\config\fastdds_build_test.meta
colcon_meta_file: ${{ github.workspace }}\src\fastrtps\.github\workflows\config\fastdds_build.meta ${{ github.workspace }}\src\fastrtps\.github\workflows\config\fastdds_test.meta
colcon_build_args: ${{ inputs.colcon-args }}
# The following Fast DDS CMake options need to be specified here instead of in the meta files
# because they vary from platform to platform
Expand Down

0 comments on commit f746b93

Please sign in to comment.