Skip to content

Commit f9575d2

Browse files
Improve CI workflows in main, and branching model refactor (#149)
* Refs #21228: Refactor Ubuntu CI Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Refactor Windows CI Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Remove previous workflow Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Add RELEASE_SUPPORT.md with Fast DDS references Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Add install doxygen step in windows reusable workflow Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Add fast dds branch to nightly labels Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Deactivate Windows build temporary on 1.0.x Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Move build documentation in tests steps only in Ubuntu CI Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Apply rev suggestions Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Fix test.meta issue in Ubuntu vs Windows Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Remove test.repos Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Apply last rev suggestion Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Add if conflicts check in PR trigger to avoid passing required CI Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Update eProsima-CI action references Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Avoid building dependencies again Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Apply rev suggestions Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Simplify nightly removing unnecessary matrix options Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Move 2.6.x related jobs to weekly workflow Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Fix weekly cron expression Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Apply rev suggestions Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21228: Apply rev suggestions Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> --------- Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
1 parent 9214250 commit f9575d2

15 files changed

Lines changed: 839 additions & 258 deletions

.github/actions/fetch-fastdds_python-repos/action.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/build_and_test.yml

Lines changed: 0 additions & 232 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@ names:
33
cmake-args:
44
- "-DSECURITY=ON"
55
- "-DLOG_CONSUMER_DEFAULT=STDOUT"
6-
fastdds_python:
7-
cmake-args:
8-
- "-DBUILD_TESTING=ON"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
names:
2+
fastdds_python:
3+
cmake-args:
4+
- "-DBUILD_TESTING=ON"
5+
- "-DBUILD_DOCUMENTATION=ON"
6+
ctest-args: [
7+
"--repeat", "until-pass:3",
8+
"--timeout", "300",
9+
"--label-exclude", "xfail"
10+
]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
names:
2+
fastdds_python:
3+
cmake-args:
4+
- "-DBUILD_TESTING=ON"
5+
ctest-args: [
6+
"--repeat", "until-pass:3",
7+
"--timeout", "300",
8+
"--label-exclude", "xfail"
9+
]
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Fast DDS Python Ubuntu CI (nightly)
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 1 * * *'
7+
8+
jobs:
9+
# python main - fastdds master
10+
nightly-ubuntu-ci-main:
11+
uses: eProsima/Fast-DDS-Python/.github/workflows/reusable-ubuntu-ci.yml@main
12+
with:
13+
# It would be desirable to have a matrix of ubuntu OS for this job, but due to the issue opened in this ticket:
14+
# https://github.com/orgs/community/discussions/128118 , it has been set as a single OS job.
15+
os-version: 'ubuntu-22.04'
16+
label: 'nightly-ubuntu-ci-main-master'
17+
fastdds-python-branch: 'main'
18+
fastdds-branch: 'master'
19+
run-build: true
20+
run-tests: true
21+
use-ccache: false
22+
23+
# python 1.4.x - fastdds 2.14.x/2.13.x
24+
nightly-ubuntu-ci-1_4_x:
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
fastdds-branch:
29+
- '2.14.x'
30+
- '2.13.x'
31+
uses: eProsima/Fast-DDS-Python/.github/workflows/reusable-ubuntu-ci.yml@1.4.x
32+
with:
33+
# It would be desirable to have a matrix of ubuntu OS for this job, but due to the issue opened in this ticket:
34+
# https://github.com/orgs/community/discussions/128118 , it has been set as a single OS job.
35+
os-version: 'ubuntu-22.04'
36+
label: 'nightly-ubuntu-ci-1.4.x-${{ matrix.fastdds-branch }}'
37+
fastdds-python-branch: '1.4.x'
38+
fastdds-branch: ${{ matrix.fastdds-branch }}
39+
run-build: true
40+
run-tests: true
41+
use-ccache: false
42+
43+
# python 1.2.x - fastdds 2.10.x
44+
nightly-ubuntu-ci-1_2_x:
45+
uses: eProsima/Fast-DDS-Python/.github/workflows/reusable-ubuntu-ci.yml@1.2.x
46+
with:
47+
# It would be desirable to have a matrix of ubuntu OS for this job, but due to the issue opened in this ticket:
48+
# https://github.com/orgs/community/discussions/128118 , it has been set as a single OS job.
49+
os-version: 'ubuntu-22.04'
50+
label: 'nightly-ubuntu-ci-1.2.x-2.10.x'
51+
fastdds-python-branch: '1.2.x'
52+
fastdds-branch: '2.10.x'
53+
run-build: true
54+
run-tests: true
55+
use-ccache: false

0 commit comments

Comments
 (0)