@@ -639,109 +639,6 @@ jobs:
639639 cmake_build_type : ${{ matrix.cmake-build-type }}
640640 workspace : ${{ github.workspace }}
641641
642- fastdds_discovery_server_test :
643- needs : fastdds_build
644- runs-on : ${{ inputs.os-image }}
645- strategy :
646- fail-fast : false
647- matrix :
648- cmake-build-type :
649- - ' RelWithDebInfo'
650- steps :
651- - name : Free disk space
652- uses : eProsima/eProsima-CI/ubuntu/free_disk_space@v0
653-
654- - name : Download build artifacts
655- uses : eProsima/eProsima-CI/external/download-artifact@v0
656- with :
657- name : fastdds_build_${{ inputs.label }}
658- path : ${{ github.workspace }}
659-
660- - name : Install Fix Python version
661- uses : eProsima/eProsima-CI/external/setup-python@v0
662- with :
663- python-version : ' 3.11'
664-
665- - name : Get minimum supported version of CMake
666- uses : eProsima/eProsima-CI/external/get-cmake@v0
667- with :
668- cmakeVersion : ' 3.22.6'
669-
670- - name : Install apt packages
671- uses : eProsima/eProsima-CI/ubuntu/install_apt_packages@v0
672- with :
673- packages : libasio-dev libtinyxml2-dev libssl-dev
674-
675- - name : Install colcon
676- uses : eProsima/eProsima-CI/ubuntu/install_colcon@v0
677-
678- - name : Install Python dependencies
679- uses : eProsima/eProsima-CI/ubuntu/install_python_packages@v0
680- with :
681- packages : vcstool xmlschema xmltodict==0.13.0 jsondiff==2.0.0 pandas==1.5.2 psutil
682-
683- - name : Setup CCache
684- uses : eProsima/eProsima-CI/external/setup-ccache-action@v0
685- if : ${{ inputs.use-ccache == true }}
686- with :
687- api_token : ${{ secrets.GITHUB_TOKEN }}
688-
689- - name : Get Discovery Server branch
690- id : get_discovery_server_branch
691- uses : eProsima/eProsima-CI/ubuntu/get_related_branch_from_repo@v0
692- with :
693- remote_repository : eProsima/Discovery-Server
694- fallback_branch : ${{ env.discovery-server-branch }}
695-
696- - name : Download Discovery Server repo
697- uses : eProsima/eProsima-CI/external/checkout@v0
698- with :
699- repository : eProsima/Discovery-Server
700- path : src/discovery_server
701- ref : ${{ steps.get_discovery_server_branch.outputs.deduced_branch }}
702-
703- - name : Fetch Fast DDS CI dependencies
704- uses : eProsima/eProsima-CI/ubuntu/vcs_import@v0
705- with :
706- vcs_repos_file : ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_test.repos
707- destination_workspace : src
708- skip_existing : ' true'
709-
710- - name : Colcon build
711- continue-on-error : false
712- uses : eProsima/eProsima-CI/ubuntu/colcon_build@v0
713- with :
714- colcon_meta_file : ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_build.meta ${{ github.workspace }}/src/fastdds/.github/workflows/config/discovery_server.meta
715- colcon_build_args : ${{ inputs.colcon-args }}
716- cmake_args : ' ${{ env.security-cmake-flag }} ${{ inputs.cmake-args }}'
717- cmake_args_default : ${{ env.colcon-build-default-cmake-args }}
718- cmake_build_type : ${{ matrix.cmake-build-type }}
719- workspace : ${{ github.workspace }}
720-
721- - name : Colcon test
722- id : discovery_server_test
723- if : ${{ inputs.run-tests == true }}
724- uses : eProsima/eProsima-CI/ubuntu/colcon_test@v0
725- with :
726- colcon_meta_file : ${{ github.workspace }}/src/fastdds/.github/workflows/config/discovery_server.meta
727- colcon_test_args : ${{ inputs.colcon-args }}
728- colcon_test_args_default : --event-handlers=console_direct+
729- ctest_args : ${{ inputs.ctest-args }}
730- packages_names : discovery-server
731- workspace : ${{ github.workspace }}
732- workspace_dependencies : ' '
733- test_report_artifact : ${{ format('test_report_{0}_{1}_{2}', inputs.label, github.job, join(matrix.*, '_')) }}
734-
735- - name : Discovery server test summary
736- uses : eProsima/eProsima-CI/ubuntu/junit_summary@v0
737- if : ${{ !cancelled() && inputs.run-tests == true }}
738- with :
739- junit_reports_dir : " ${{ steps.discovery_server_test.outputs.ctest_results_path }}"
740- print_summary : ' True'
741- show_failed : ' True'
742- show_disabled : ' False'
743- show_skipped : ' False'
744-
745642 fastdds_alternative_builds :
746643 needs : fastdds_build
747644 runs-on : ${{ inputs.os-image }}
0 commit comments