-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: JesusPoderoso <[email protected]>
- Loading branch information
1 parent
df8af0d
commit 7d1c564
Showing
5 changed files
with
586 additions
and
359 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
name: fastdds_monitor_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@v0 | ||
with: | ||
cmake_build_type: ${{ inputs.cmake_build_type }} | ||
|
||
- name: Install apt packages | ||
if: runner.os == 'Linux' | ||
uses: ./src/.github/actions/install-apt-packages | ||
|
||
- name: Install Python packages | ||
if: runner.os == 'Linux' | ||
uses: ./src/.github/actions/install-python-packages | ||
|
||
- name: Fetch Fast DDS Statistics Backend repositories | ||
if: runner.os == 'Linux' | ||
uses: ./src/.github/actions/fetch-fastdds-statistics-backend-repos | ||
|
||
- name: Update colcon mixin | ||
if: runner.os == 'Linux' | ||
shell: bash | ||
run: | | ||
colcon mixin add default \ | ||
https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml | ||
colcon mixin update default | ||
continue-on-error: true | ||
|
||
- name: Install Qt | ||
if: runner.os == 'Linux' | ||
uses: jurplel/[email protected] | ||
with: | ||
version: '5.15.2' | ||
dir: '${{ github.workspace }}/qt_installation/' | ||
modules: 'qtcharts' | ||
|
||
- name: Install OpenSSL | ||
if: runner.os == 'Windows' | ||
uses: ./src/.github/actions/install-openssl-windows | ||
|
||
- name: Install Qt | ||
if: runner.os == 'Windows' | ||
uses: jurplel/[email protected] | ||
with: | ||
version: '5.15.2' | ||
arch: 'win64_msvc2019_64' | ||
dir: '${{ github.workspace }}/qt_installation/' | ||
modules: 'qtcharts' |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"names": | ||
{ | ||
"foonathan_memory": | ||
{ | ||
"cmake-args": | ||
[ | ||
"-DCMAKE_CXX_FLAGS='/WX /EHsc'", | ||
"-Ax64", | ||
"-T host=x64", | ||
"-DBUILD_SHARED_LIBS=OFF", | ||
"-DFOONATHAN_MEMORY_BUILD_TOOLS=ON", | ||
"-DCMAKE_POSITION_INDEPENDENT_CODE=ON", | ||
"-DFOONATHAN_MEMORY_BUILD_TESTS=OFF" | ||
] | ||
}, | ||
|
||
"fastcdr": | ||
{ | ||
"cmake-args": | ||
[ | ||
"-DCMAKE_CXX_FLAGS='/WX /EHsc'", | ||
"-Ax64", | ||
"-T host=x64" | ||
] | ||
}, | ||
|
||
"fastrtps": | ||
{ | ||
"cmake-args": | ||
[ | ||
"-DCMAKE_CXX_FLAGS='/WX /EHsc'", | ||
"-Ax64", | ||
"-T host=x64", | ||
"-DFASTDDS_STATISTICS=ON", | ||
"-DTHIRDPARTY=ON", | ||
"-DSECURITY=ON", | ||
"-DCOMPILE_EXAMPLES=OFF", | ||
"-DEPROSIMA_BUILD_TESTS=OFF", | ||
"-DINTERNAL_DEBUG=ON" | ||
] | ||
}, | ||
|
||
"fastdds_monitor": | ||
{ | ||
"cmake-args": | ||
[ | ||
"-DCMAKE_CXX_FLAGS='/WX /EHsc'", | ||
"-Ax64", | ||
"-T host=x64", | ||
"-DBUILD_MOCK=ON", | ||
"-DQT_PATH=$GITHUB_WORKSPACE/qt_installation/Qt/5.15.2" | ||
] | ||
}, | ||
} | ||
} |
Oops, something went wrong.