Skip to content

Commit

Permalink
DROP
Browse files Browse the repository at this point in the history
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
  • Loading branch information
EduPonz committed Feb 13, 2024
1 parent 464e7bc commit 10aabee
Showing 1 changed file with 62 additions and 62 deletions.
124 changes: 62 additions & 62 deletions .github/workflows/fastcdr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,55 +51,55 @@ jobs:
fail-fast: false
matrix:
runner-image:
- 'ubuntu-20.04'
- 'ubuntu-22.04'
# - 'ubuntu-20.04'
# - 'ubuntu-22.04'
- 'windows-2019'

steps:
- name: Sync eProsima/Fast-CDR repository
uses: eProsima/eProsima-CI/external/checkout@feature/ctest2junit_translation
with:
path: src/Fast-CDR

- name: Get minimum supported version of CMake
uses: eProsima/eProsima-CI/external/get-cmake@feature/ctest2junit_translation
with:
cmakeVersion: '3.22.6'

- name: Install Colcon dependencies
uses: eProsima/eProsima-CI/multiplatform/install_colcon@feature/ctest2junit_translation

# Temporal step as this platform will be discontinued soon
- name: Install Gtest Backwards Compatibility
if: ${{ matrix.runner-image == 'ubuntu-20.04' }}
run: |
git clone --branch release-1.12.1 https://github.com/google/googletest.git && \
colcon build \
--event-handlers=console_direct+ \
--packages-select googletest-distribution
- name: Install Gtest
if: ${{ matrix.runner-image != 'ubuntu-20.04' }}
uses: eProsima/eProsima-CI/multiplatform/install_gtest@feature/ctest2junit_translation

- name: Colcon build
uses: eProsima/eProsima-CI/multiplatform/colcon_build@feature/ctest2junit_translation
with:
colcon_build_args_default: --event-handlers=console_direct+
cmake_args: ${{ inputs.cmake_args }}
cmake_args_default: -DBUILD_TESTING=ON
cmake_build_type: RelWithDebInfo
workspace: ${{ github.workspace }}

- name: Colcon test
id: test
uses: eProsima/eProsima-CI/multiplatform/colcon_test@feature/ctest2junit_translation
with:
colcon_test_args_default: --event-handlers=console_direct+ --return-code-on-test-failure
ctest_args: ${{ inputs.ctest_args }}
ctest_args_default: --repeat until-pass:3 --timeout 300 --output-junit junit/junit.xml
packages_names: fastcdr
workspace: ${{ github.workspace }}
# - name: Sync eProsima/Fast-CDR repository
# uses: eProsima/eProsima-CI/external/checkout@feature/ctest2junit_translation
# with:
# path: src/Fast-CDR

# - name: Get minimum supported version of CMake
# uses: eProsima/eProsima-CI/external/get-cmake@feature/ctest2junit_translation
# with:
# cmakeVersion: '3.22.6'

# - name: Install Colcon dependencies
# uses: eProsima/eProsima-CI/multiplatform/install_colcon@feature/ctest2junit_translation

# # Temporal step as this platform will be discontinued soon
# - name: Install Gtest Backwards Compatibility
# if: ${{ matrix.runner-image == 'ubuntu-20.04' }}
# run: |
# git clone --branch release-1.12.1 https://github.com/google/googletest.git && \
# colcon build \
# --event-handlers=console_direct+ \
# --packages-select googletest-distribution

# - name: Install Gtest
# if: ${{ matrix.runner-image != 'ubuntu-20.04' }}
# uses: eProsima/eProsima-CI/multiplatform/install_gtest@feature/ctest2junit_translation

# - name: Colcon build
# uses: eProsima/eProsima-CI/multiplatform/colcon_build@feature/ctest2junit_translation
# with:
# colcon_build_args_default: --event-handlers=console_direct+
# cmake_args: ${{ inputs.cmake_args }}
# cmake_args_default: -DBUILD_TESTING=ON
# cmake_build_type: RelWithDebInfo
# workspace: ${{ github.workspace }}

# - name: Colcon test
# id: test
# uses: eProsima/eProsima-CI/multiplatform/colcon_test@feature/ctest2junit_translation
# with:
# colcon_test_args_default: --event-handlers=console_direct+ --return-code-on-test-failure
# ctest_args: ${{ inputs.ctest_args }}
# ctest_args_default: --repeat until-pass:3 --timeout 300 --output-junit junit/junit.xml
# packages_names: fastcdr
# workspace: ${{ github.workspace }}

- name: Test summary
uses: eProsima/eProsima-CI/multiplatform/junit_summary@feature/ctest2junit_translation
Expand All @@ -111,19 +111,19 @@ jobs:
show_disabled: 'False'
show_skipped: 'False'

- name: Test Report
uses: eProsima/eProsima-CI/external/test-reporter@feature/ctest2junit_translation
if: ${{ !cancelled() && !contains(github.event.pull_request.labels.*.name, 'no-test') }}
with:
name: "Report: ${{ matrix.runner-image }}"
path: "${{ steps.test.outputs.ctest_results_path }}*.xml"
working-directory: 'src/Fast-CDR'
path-replace-backslashes: 'true'
list-tests: 'failed'

- name: Archive Test Results
if: always()
uses: actions/upload-artifact@v1
with:
name: test-results-${{ matrix.runner-image }}
path: log/latest_test/fastcdr
# - name: Test Report
# uses: eProsima/eProsima-CI/external/test-reporter@feature/ctest2junit_translation
# if: ${{ !cancelled() && !contains(github.event.pull_request.labels.*.name, 'no-test') }}
# with:
# name: "Report: ${{ matrix.runner-image }}"
# path: "${{ steps.test.outputs.ctest_results_path }}*.xml"
# working-directory: 'src/Fast-CDR'
# path-replace-backslashes: 'true'
# list-tests: 'failed'

# - name: Archive Test Results
# if: always()
# uses: actions/upload-artifact@v1
# with:
# name: test-results-${{ matrix.runner-image }}
# path: log/latest_test/fastcdr

0 comments on commit 10aabee

Please sign in to comment.