@@ -683,18 +683,19 @@ jobs:
683683 show_skipped : ' False'
684684
685685 fastdds_alternative_builds :
686+ needs : fastdds_build
686687 runs-on : ${{ inputs.os-image }}
687688 strategy :
688689 fail-fast : false
689690 matrix :
690691 cmake-build-type :
691692 - ' RelWithDebInfo'
692693 steps :
693- - name : Sync eProsima/Fast-DDS repository
694- uses : eProsima/eProsima-CI/external/checkout @v0
694+ - name : Download build artifacts
695+ uses : eProsima/eProsima-CI/external/download-artifact @v0
695696 with :
696- path : src/fastdds
697- ref : ${{ inputs.fastdds-branch }}
697+ name : fastdds_build_${{ inputs.label }}
698+ path : ${{ github.workspace }}
698699
699700 - name : Install Fix Python version
700701 uses : eProsima/eProsima-CI/external/setup-python@v0
@@ -709,7 +710,7 @@ jobs:
709710 - name : Install apt dependencies
710711 uses : eProsima/eProsima-CI/ubuntu/install_apt_packages@v0
711712 with :
712- packages : libasio-dev libtinyxml2-dev libssl-dev
713+ packages : libasio-dev libtinyxml2-dev libssl-dev valgrind
713714 update : false
714715 upgrade : false
715716
@@ -719,7 +720,7 @@ jobs:
719720 - name : Install Python dependencies
720721 uses : eProsima/eProsima-CI/multiplatform/install_python_packages@v0
721722 with :
722- packages : vcstool xmlschema
723+ packages : vcstool xmlschema msparser
723724 upgrade : false
724725
725726 - name : Setup CCache
@@ -728,15 +729,41 @@ jobs:
728729 with :
729730 api_token : ${{ secrets.GITHUB_TOKEN }}
730731
731- - name : Fetch Fast DDS dependencies
732- uses : eProsima/eProsima-CI/multiplatform/vcs_import @v0
732+ - name : Sync osrf/osrf_testing_tools_cpp repository
733+ uses : eProsima/eProsima-CI/external/checkout @v0
733734 with :
734- vcs_repos_file : ${{ github.workspace }}/src/fastdds/fastdds.repos
735- destination_workspace : src
736- skip_existing : ' true'
735+ repository : osrf/osrf_testing_tools_cpp
736+ path : src/osrf_testing_tools_cpp
737+ ref : 1.4.0
738+
739+ - name : OSRF testing tools build
740+ uses : eProsima/eProsima-CI/multiplatform/colcon_build@v0
741+ with :
742+ colcon_meta_file : ' '
743+ colcon_build_args : ${{ inputs.colcon-args }} --packages-select osrf_testing_tools_cpp
744+ cmake_args : ' -DBUILD_TESTING=OFF'
745+ cmake_args_default : ' '
746+ cmake_build_type : ${{ matrix.cmake-build-type }}
747+ workspace : ${{ github.workspace }}
748+
749+ - name : Profilling tests build
750+ uses : eProsima/eProsima-CI/multiplatform/colcon_build@v0
751+ with :
752+ colcon_meta_file : ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_build.meta
753+ colcon_build_args : ${{ inputs.colcon-args }} --packages-up-to fastdds
754+ cmake_args : ' -DPROFILING_TESTS=ON ${{ inputs.cmake-args }}'
755+ cmake_args_default : ${{ env.colcon-build-default-cmake-args }}
756+ cmake_build_type : ${{ matrix.cmake-build-type }}
757+ workspace : ${{ github.workspace }}
758+ workspace_dependencies : ${{ github.workspace }}/install
759+
760+ - name : Clean workspace - Profiling tests
761+ run : |
762+ cd ${{ github.workspace }}
763+ rm -rf build install log src/osrf_testing_tools_cpp
737764
738765 - name : No security colcon build
739- continue-on-error : true
766+ continue-on-error : false
740767 uses : eProsima/eProsima-CI/multiplatform/colcon_build@v0
741768 with :
742769 colcon_meta_file : ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_build.meta
@@ -747,14 +774,11 @@ jobs:
747774 workspace : ${{ github.workspace }}
748775
749776 - name : Clean workspace - No security
750- if : ${{ always() }}
751777 run : |
752778 cd ${{ github.workspace }}
753779 rm -rf build install log
754780
755781 - name : No statistics colcon build
756- continue-on-error : true
757- if : ${{ always() }}
758782 uses : eProsima/eProsima-CI/multiplatform/colcon_build@v0
759783 with :
760784 colcon_meta_file : ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_build.meta
@@ -765,15 +789,12 @@ jobs:
765789 workspace : ${{ github.workspace }}
766790
767791 - name : Clean workspace - No statistics
768- if : ${{ always() }}
769792 run : |
770793 cd ${{ github.workspace }}
771794 rm -rf build install log
772795
773796 # No .metas file, so FASTDDS_ENFORCE_LOG_INFO is set OFF by default. Missed important args are manually included
774797 - name : No enforcing log info colcon build
775- continue-on-error : true
776- if : ${{ always() }}
777798 uses : eProsima/eProsima-CI/multiplatform/colcon_build@v0
778799 with :
779800 colcon_meta_file : ' '
@@ -784,14 +805,11 @@ jobs:
784805 workspace : ${{ github.workspace }}
785806
786807 - name : Clean workspace - No enforce log info
787- if : ${{ always() }}
788808 run : |
789809 cd ${{ github.workspace }}
790810 rm -rf build install log
791811
792812 - name : No shared libs colcon build
793- continue-on-error : true
794- if : ${{ always() }}
795813 uses : eProsima/eProsima-CI/multiplatform/colcon_build@v0
796814 with :
797815 colcon_meta_file : ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_build.meta
0 commit comments