Skip to content

Commit

Permalink
Update Fast DDS Monitor CI to use eProsima-CI utilities (#210)
Browse files Browse the repository at this point in the history
* Refs #21585: Migrate CI to eProsima-CI

Signed-off-by: JesusPoderoso <[email protected]>

* Refs #21585: Icrease sphinx versions to avoid CI fail in ubuntu tests

Signed-off-by: JesusPoderoso <[email protected]>

* Refs #21585: Update CI actions

Signed-off-by: JesusPoderoso <[email protected]>

* Refs #21585: Restore python packages instead of requirements

Signed-off-by: JesusPoderoso <[email protected]>

* Refs #21585: Fix windows build

Signed-off-by: JesusPoderoso <[email protected]>

* Refs #21585: Set documentation as a separate job

Signed-off-by: JesusPoderoso <[email protected]>

* Refs #21585: Set explicit artifact names

Signed-off-by: JesusPoderoso <[email protected]>

* Refs #21585: Add mirror workflow

Signed-off-by: JesusPoderoso <[email protected]>

* Refs #21585: Update branch references in fastdds_monitor.repos

Signed-off-by: JesusPoderoso <[email protected]>

---------

Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso authored Sep 11, 2024
1 parent 48d90a1 commit 7643942
Show file tree
Hide file tree
Showing 13 changed files with 410 additions and 476 deletions.
10 changes: 0 additions & 10 deletions .github/actions/fetch-fastdds-statistics-backend-repos/action.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/actions/install-apt-packages/action.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/actions/install-gtest/action.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/actions/install-openssl-windows/action.yml

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@
{
"cmake-args":
[
"-DCMAKE_BUILD_TYPE=Debug",
"-DBUILD_MOCK=ON",
"-DQT_PATH=$GITHUB_WORKSPACE/qt_installation/Qt/5.15.2",
"-DBUILD_DOCUMENTATION=ON",
"-DBUILD_TESTS=ON",
"-DBUILD_APP_TESTS=ON",
"-DCMAKE_CXX_FLAGS='-Werror'"
]
}
Expand Down
57 changes: 57 additions & 0 deletions .github/workflows/configurations/Windows/colcon.meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"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",
"-DBUILD_APP_TESTS=ON",
"-DQT_PATH=$GITHUB_WORKSPACE/qt_installation/Qt/5.15.2"
]
},
}
}
6 changes: 0 additions & 6 deletions .github/workflows/configurations/requirements.txt

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# .github/workflows/mirror.yml
name: Mirror
on:
push:
branches:
- 'main'

jobs:
mirror_job:
runs-on: ubuntu-latest
name: Mirror main branch to API & ABI compatible minor version branches
strategy:
fail-fast: false
matrix:
dest_branch:
- '3.x'
steps:
- name: Mirror action step
id: mirror
uses: eProsima/eProsima-CI/external/mirror-branch-action@v0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
source: 'main'
dest: ${{ matrix.dest_branch }}
25 changes: 25 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Nightly test workflow for Fast DDS Monitor
name: nightly

on:
workflow_dispatch:
schedule:
- cron: '0 5 * * *'

jobs:
reusable_tests:
strategy:
fail-fast: false
matrix:
version:
- fastdds_ref: 'v2'
monitor_ref: '2.x'
- fastdds_ref: 'v3'
monitor_ref: 'main'
name: reusable_tests
uses: ./.github/workflows/reusable-workflow.yml
with:
custom_version_build: ${{ matrix.version.fastdds_ref }}
dependencies_artifact_postfix: '_nightly'
ref: ${{ matrix.version.monitor_ref }}
secrets: inherit
Loading

0 comments on commit 7643942

Please sign in to comment.