-
Notifications
You must be signed in to change notification settings - Fork 771
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set action references to testing branch and disable non-linux ci
Signed-off-by: Raul Sanchez-Mateos <[email protected]>
- Loading branch information
1 parent
cc62caf
commit 252cc02
Showing
8 changed files
with
167 additions
and
177 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
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
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 |
---|---|---|
|
@@ -50,45 +50,45 @@ 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/setup-python-venv | ||
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/setup-python-venv | ||
with: | ||
path: src/fastdds | ||
ref: ${{ inputs.fastdds-branch }} | ||
|
||
- uses: eProsima/eProsima-CI/external/setup-python@v0 | ||
- uses: eProsima/eProsima-CI/external/setup-python@hotfix/setup-python-venv | ||
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/setup-python-venv | ||
with: | ||
cmakeVersion: '3.22.6' | ||
|
||
- name: Install brew dependencies | ||
uses: eProsima/eProsima-CI/macos/install_brew_packages@v0 | ||
uses: eProsima/eProsima-CI/macos/install_brew_packages@hotfix/setup-python-venv | ||
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/setup-python-venv | ||
|
||
- name: Install Python dependencies | ||
uses: eProsima/eProsima-CI/multiplatform/install_python_packages@v0 | ||
uses: eProsima/eProsima-CI/multiplatform/install_python_packages@hotfix/setup-python-venv | ||
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/setup-python-venv | ||
if: ${{ inputs.use-ccache == true }} | ||
with: | ||
api_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -109,14 +109,14 @@ jobs: | |
# 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/setup-python-venv | ||
with: | ||
vcs_repos_file: ${{ github.workspace }}/src/fastdds/fastdds.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/setup-python-venv | ||
with: | ||
vcs_repos_file: ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_test.repos | ||
destination_workspace: src | ||
|
@@ -128,7 +128,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/setup-python-venv | ||
with: | ||
colcon_meta_file: ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_build.meta ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_test.meta | ||
colcon_build_args: ${{ inputs.colcon-args }} | ||
|
@@ -140,7 +140,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/setup-python-venv | ||
with: | ||
colcon_meta_file: ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_test.meta | ||
colcon_test_args: ${{ inputs.colcon-args }} | ||
|
@@ -151,7 +151,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/setup-python-venv | ||
if: ${{ !cancelled() && !contains(github.event.pull_request.labels.*.name, 'no-test') }} | ||
with: | ||
junit_reports_dir: "${{ steps.test.outputs.ctest_results_path }}" | ||
|
Oops, something went wrong.