-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathaction.yml
More file actions
67 lines (55 loc) · 2.38 KB
/
Copy pathaction.yml
File metadata and controls
67 lines (55 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: ddsrouter_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
custom_version_build:
description: >
Use the custom version build from eProsima-CI.
If set to false, the workflow will run the tests for Fast DDS v2 and v3.
required: true
default: 'custom'
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@v0
with:
cmake_build_type: ${{ inputs.cmake_build_type }}
- name: Install jsonschema
uses: eProsima/eProsima-CI/multiplatform/install_python_packages@v0
with:
packages: jsonschema
- name: Install yaml cpp dependency
uses: eProsima/eProsima-CI/multiplatform/install_yamlcpp@v0
with:
cmake_build_type: ${{ inputs.cmake_build_type }}
# In DDS Pipe artifact there are included Fast DDS and dev-utils
- name: Download dependencies artifact
uses: eProsima/eProsima-CI/multiplatform/download_dependency@v0
with:
artifact_name: build_ddspipe_${{ inputs.custom_version_build }}_${{ inputs.os }}_${{ inputs.cmake_build_type }}${{ inputs.dependencies_artifact_postfix }}
workflow_source: build_ddspipe.yml
workflow_source_repository: eProsima/eProsima-CI
target_workspace: ${{ inputs.target_workspace }}
secret_token: ${{ inputs.secret_token }}
workflow_conclusion: completed