Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed Nov 28, 2023
1 parent df8af0d commit db4b568
Show file tree
Hide file tree
Showing 5 changed files with 586 additions and 359 deletions.
81 changes: 81 additions & 0 deletions .github/actions/project_dependencies/action.yml
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.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
{
"cmake-args":
[
"-DCMAKE_BUILD_TYPE=Debug",
"-DBUILD_MOCK=ON",
"-DQT_PATH=$GITHUB_WORKSPACE/qt_installation/Qt/5.15.2",
"-DBUILD_DOCUMENTATION=ON",
Expand Down
56 changes: 56 additions & 0 deletions .github/workflows/configurations/Windows/colcon.meta
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"
]
},
}
}
Loading

0 comments on commit db4b568

Please sign in to comment.