-
Notifications
You must be signed in to change notification settings - Fork 775
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #20989: Test colcon intallation fix
Signed-off-by: eduponz <[email protected]>
- Loading branch information
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,59 +46,59 @@ jobs: | |
steps: | ||
- name: Add ci-pending label if PR | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: eProsima/eProsima-CI/external/add_labels@v0 | ||
uses: eProsima/eProsima-CI/external/add_labels@hotfix/macos/install_colcon | ||
with: | ||
labels: ci-pending | ||
number: ${{ github.event.number }} | ||
repo: eProsima/Fast-DDS | ||
|
||
- name: Sync eProsima/Fast-DDS repository | ||
uses: eProsima/eProsima-CI/external/checkout@v0 | ||
uses: eProsima/eProsima-CI/external/checkout@hotfix/macos/install_colcon | ||
with: | ||
path: src/fastrtps | ||
ref: ${{ inputs.fastdds-branch }} | ||
|
||
- uses: eProsima/eProsima-CI/external/setup-python@v0 | ||
- uses: eProsima/eProsima-CI/external/setup-python@hotfix/macos/install_colcon | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Get minimum supported version of CMake | ||
uses: eProsima/eProsima-CI/external/get-cmake@v0 | ||
uses: eProsima/eProsima-CI/external/get-cmake@hotfix/macos/install_colcon | ||
with: | ||
cmakeVersion: '3.16.3' | ||
|
||
- name: Install brew dependencies | ||
uses: eProsima/eProsima-CI/macos/install_brew_packages@v0 | ||
uses: eProsima/eProsima-CI/macos/install_brew_packages@hotfix/macos/install_colcon | ||
with: | ||
packages: llvm asio tinyxml2 [email protected] | ||
update: false | ||
upgrade: false | ||
|
||
- name: Install colcon | ||
uses: eProsima/eProsima-CI/multiplatform/install_colcon@v0 | ||
uses: eProsima/eProsima-CI/multiplatform/install_colcon@hotfix/macos/install_colcon | ||
|
||
- name: Install Python dependencies | ||
uses: eProsima/eProsima-CI/multiplatform/install_python_packages@v0 | ||
uses: eProsima/eProsima-CI/multiplatform/install_python_packages@hotfix/macos/install_colcon | ||
with: | ||
packages: vcstool xmlschema | ||
upgrade: false | ||
|
||
- name: Setup CCache | ||
uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 | ||
uses: eProsima/eProsima-CI/external/setup-ccache-action@hotfix/macos/install_colcon | ||
|
||
# TODO(eduponz): Update known hosts file for DNS resolver testing. NOTE: The runner cannot modify /etc/hosts. | ||
# TODO(eduponz): Set up libp11 and SoftHSM. NOTE: using SoftHSM requires adding the runner to a group, | ||
# which entails logout/login or rebooting the machine. This is not feasible in a CI environment. | ||
|
||
- name: Fetch Fast DDS dependencies | ||
uses: eProsima/eProsima-CI/multiplatform/vcs_import@v0 | ||
uses: eProsima/eProsima-CI/multiplatform/vcs_import@hotfix/macos/install_colcon | ||
with: | ||
vcs_repos_file: ${{ github.workspace }}/src/fastrtps/fastrtps.repos | ||
destination_workspace: src | ||
skip_existing: 'true' | ||
|
||
- name: Fetch Fast DDS CI dependencies | ||
uses: eProsima/eProsima-CI/multiplatform/vcs_import@v0 | ||
uses: eProsima/eProsima-CI/multiplatform/vcs_import@hotfix/macos/install_colcon | ||
with: | ||
vcs_repos_file: ${{ github.workspace }}/src/fastrtps/.github/workflows/config/ci.repos | ||
destination_workspace: src | ||
|
@@ -110,7 +110,7 @@ jobs: | |
# - Not working solution: https://github.com/macports/macports-ports/pull/21839/files | ||
- name: Colcon build | ||
continue-on-error: false | ||
uses: eProsima/eProsima-CI/multiplatform/colcon_build@v0 | ||
uses: eProsima/eProsima-CI/multiplatform/colcon_build@hotfix/macos/install_colcon | ||
with: | ||
colcon_meta_file: ${{ github.workspace }}/src/fastrtps/.github/workflows/config/ci.meta | ||
colcon_build_args: ${{ inputs.colcon-args }} | ||
|
@@ -122,7 +122,7 @@ jobs: | |
- name: Colcon test | ||
id: test | ||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-test') }} | ||
uses: eProsima/eProsima-CI/multiplatform/colcon_test@v0 | ||
uses: eProsima/eProsima-CI/multiplatform/colcon_test@hotfix/macos/install_colcon | ||
with: | ||
colcon_test_args: ${{ inputs.colcon-args }} | ||
colcon_test_args_default: --event-handlers=console_direct+ | ||
|
@@ -133,7 +133,7 @@ jobs: | |
test_report_artifact: ${{ format('test_report_{0}_{1}_{2}', inputs.label, github.job, join(matrix.*, '_')) }} | ||
|
||
- name: Test summary | ||
uses: eProsima/eProsima-CI/multiplatform/junit_summary@v0 | ||
uses: eProsima/eProsima-CI/multiplatform/junit_summary@hotfix/macos/install_colcon | ||
if: ${{ !cancelled() && !contains(github.event.pull_request.labels.*.name, 'no-test') }} | ||
with: | ||
junit_reports_dir: "${{ steps.test.outputs.ctest_results_path }}" | ||
|