Skip to content

Commit

Permalink
Fix windows CI and add vanilla build step in ubuntu CI (#5095)
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)

# Conflicts:
#	.github/workflows/reusable-ubuntu-ci.yml
#	.github/workflows/reusable-windows-ci.yml
  • Loading branch information
JesusPoderoso authored and mergify[bot] committed Jul 23, 2024
1 parent 62a0189 commit a701fa9
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/reusable-ubuntu-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -696,3 +696,35 @@ jobs:
cmake_args_default: ${{ env.colcon-build-default-cmake-args }}
cmake_build_type: ${{ matrix.cmake-build-type }}
workspace: ${{ github.workspace }}
<<<<<<< HEAD
=======

- name: Clean workspace - No enforce log info
if: ${{ always() }}
run: |
cd ${{ github.workspace }}
rm -rf build install log
- name: No shared libs colcon build
continue-on-error: true
if: ${{ always() }}
uses: eProsima/eProsima-CI/multiplatform/colcon_build@v0
with:
colcon_meta_file: ${{ github.workspace }}/src/fastrtps/.github/workflows/config/fastdds_build.meta
colcon_build_args: ${{ inputs.colcon-args }}
cmake_args: '-DBUILD_SHARED_LIBS=OFF ${{ env.security-cmake-flag }} ${{ inputs.cmake-args }}'
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 }}
>>>>>>> 55ca0aac4 (Fix windows CI and add vanilla build step in ubuntu CI (#5095))
5 changes: 4 additions & 1 deletion .github/workflows/reusable-windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ jobs:
destination_workspace: src
skip_existing: 'true'

<<<<<<< HEAD
- name: Prepare build meta file
run: |
$build_meta_file = '${{ github.workspace }}\src\fastrtps\.github\workflows\config\fastdds_build.meta'
Expand All @@ -159,12 +160,14 @@ jobs:
# Write the combined content to the build test meta file
$combined_content | Out-File -FilePath $build_test_meta_file -Encoding UTF8
=======
>>>>>>> 55ca0aac4 (Fix windows CI and add vanilla build step in ubuntu CI (#5095))
- 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 a701fa9

Please sign in to comment.