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 75983d1
Show file tree
Hide file tree
Showing 5 changed files with 627 additions and 361 deletions.
120 changes: 120 additions & 0 deletions .github/actions/project_dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
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: ${{ inputs.os }} == ubuntu-20.04 or ${{ inputs.os }} == ubuntu-22.04
# uses: ./src/Fast-DDS-monitor/.github/actions/install-apt-packages

# - name: Install Python packages
# if: ${{ inputs.os }} == ubuntu-20.04 or ${{ inputs.os }} == ubuntu-22.04
# uses: ./src/Fast-DDS-monitor/.github/actions/install-python-packages

# # - name: Fetch Fast DDS Statistics Backend repositories
# # if: ${{ inputs.os }} == ubuntu-20.04 or ${{ inputs.os }} == ubuntu-22.04
# # uses: ./src/Fast-DDS-monitor/.github/actions/fetch-fastdds-statistics-backend-repos

# - name: Update colcon mixin
# if: ${{ inputs.os }} == ubuntu-20.04 or ${{ inputs.os }} == ubuntu-22.04
# 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: ${{ inputs.os }} == ubuntu-20.04 or ${{ inputs.os }} == ubuntu-22.04
# uses: jurplel/[email protected]
# with:
# version: '5.15.2'
# dir: '${{ github.workspace }}/qt_installation/'
# modules: 'qtcharts'



# name: fastdds_monitor_dependencies_windows
# 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 OpenSSL#
# uses: ./Fast-DDS-monitor/.github/actions/install-openssl-windows

# - name: Install Qt
# 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 75983d1

Please sign in to comment.