Skip to content

Commit 82a2ef3

Browse files
author
jparisu
committed
Migrate to eProsima CI
Signed-off-by: jparisu <javierparis@eprosima.com>
1 parent 79ceb40 commit 82a2ef3

25 files changed

Lines changed: 952 additions & 604 deletions

File tree

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: dependencies_ubuntu
2+
description: Common first step for all jobs. Checkout repository, download dependencies and install required packages.
3+
4+
inputs:
5+
6+
os:
7+
description: Specify runs-on machine to download specific artifact
8+
required: true
9+
10+
cmake_build_type:
11+
description: Specify cmake_build_type option to download specific artifact
12+
required: true
13+
14+
dependencies_artifact_postfix:
15+
description: Specify artifact postfix in case it wants to use a manual one
16+
required: false
17+
default: _nightly
18+
19+
target_workspace:
20+
description: Specify directory to download dependencies
21+
required: false
22+
default: './install'
23+
24+
# This must be passed as an argument because actions do not access to workflow secrets:
25+
# Unrecognized named-value: 'secrets'. https://github.com/orgs/community/discussions/27054
26+
# Pass argument {{ secrets.GITHUB_TOKEN }} from workflow
27+
secret_token:
28+
description: 'Secret token to authenticate the WebRequest so it not get a rate limit error.'
29+
required: false
30+
default: ''
31+
32+
runs:
33+
using: composite
34+
steps:
35+
36+
- name: Install Fast DDS dependencies
37+
uses: eProsima/eProsima-CI/multiplatform/install_fastdds_dependencies@v0
38+
with:
39+
cmake_build_type: ${{ inputs.cmake_build_type }}
40+
41+
42+
# Fast DDS artifact
43+
- name: Download dependencies artifact
44+
uses: eProsima/eProsima-CI/multiplatform/download_dependency@v0
45+
with:
46+
artifact_name: built_fastdds_${{ inputs.os }}_${{ inputs.cmake_build_type }}${{ inputs.dependencies_artifact_postfix }}
47+
workflow_source: build_fastdds.yml
48+
workflow_source_repository: eProsima/eProsima-CI
49+
target_workspace: ${{ inputs.target_workspace }}
50+
secret_token: ${{ inputs.secret_token }}
51+
workflow_conclusion: completed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"names":
3+
{
4+
}
5+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"names":
3+
{
4+
"cpp_utils":
5+
{
6+
"cmake-args":
7+
[
8+
"-DCMAKE_CXX_FLAGS='/WX /EHsc'",
9+
"-Ax64",
10+
"-T host=x64"
11+
]
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)