Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor CI to use eProsima-CI #234

Merged
merged 18 commits into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .github/actions/install-apt-packages/action.yml

This file was deleted.

55 changes: 55 additions & 0 deletions .github/actions/project_dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: fastdds_statistics_backend_dependencies_ubuntu
description: Common first step for all jobs. Checkout repository, download dependencies and install required packages.

inputs:

os:
description: Specify runs-on machine to download specific artifact
required: true

cmake_build_type:
description: Specify cmake_build_type option to download specific artifact
required: true

dependencies_artifact_postfix:
description: Specify artifact postfix in case it wants to use a manual one
required: false
default: _nightly

target_workspace:
description: Specify directory to download dependencies
required: false
default: ${{ github.workspace }}/install

# This must be passed as an argument because actions do not access to workflow secrets:
# Unrecognized named-value: 'secrets'. https://github.com/orgs/community/discussions/27054
# Pass argument {{ secrets.GITHUB_TOKEN }} from workflow
secret_token:
description: 'Secret token to authenticate the WebRequest so it not get a rate limit error.'
required: false
default: ''

runs:
using: composite
steps:

- name: Install Fast DDS dependencies
uses: eProsima/eProsima-CI/multiplatform/install_fastdds_dependencies@feature/fix-cmake-version
with:
cmake_build_type: ${{ inputs.cmake_build_type }}

JesusPoderoso marked this conversation as resolved.
Show resolved Hide resolved
- name: Install yaml cpp dependency
uses: eProsima/eProsima-CI/multiplatform/install_yamlcpp@v0
with:
cmake_build_type: ${{ inputs.cmake_build_type }}

# Fast DDS artifact
- name: Download dependencies artifact
uses: eProsima/eProsima-CI/multiplatform/download_dependency@v0
with:
artifact_name: built_fastdds_${{ inputs.os }}_${{ inputs.cmake_build_type }}${{ inputs.dependencies_artifact_postfix }}
workflow_source: build_fastdds.yml
workflow_source_repository: eProsima/eProsima-CI
target_workspace: ${{ inputs.target_workspace }}
secret_token: ${{ inputs.secret_token }}
workflow_conclusion: completed
22 changes: 0 additions & 22 deletions .github/workflows/asan.meta

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/asan_log_parser.py

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/ci.repos

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/clang.meta

This file was deleted.

5 changes: 5 additions & 0 deletions .github/workflows/configurations/Linux/colcon.meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"names":
{
}
}
14 changes: 14 additions & 0 deletions .github/workflows/configurations/Windows/colcon.meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"names":
{
"fastdds_statistics_backend":
{
"cmake-args":
[
"-DCMAKE_CXX_FLAGS='/WX /EHsc'",
"-Ax64",
"-T host=x64"
]
}
}
}
24 changes: 0 additions & 24 deletions .github/workflows/test.meta

This file was deleted.

Loading
Loading