-
Notifications
You must be signed in to change notification settings - Fork 775
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Fast DDS Ubuntu CI to include several tests (#4860)
* Refs #20822: Split current job into different jobs Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Add shapes demo build job Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Add discovery server build test job Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Add python build test job Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Add documentation build test job Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Remove previous documentation workflow Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Avoid building with tests if not running tests Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Try to fix documentation job Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Move conditions to reusable workflows Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Apply internal review suggestions Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Refactor meta files into build and test, and combine them in test steps Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Remove matrix from ubuntu CI Signed-off-by: JesusPoderoso <[email protected]> * Revert "Refs #20822: Move conditions to reusable workflows" This reverts commit d4eea0d. * Refs #20822: Apply rev suggestions Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Add missing discovery server requirements in the job Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Apply rev suggestions (2) Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Fixing windows workflow by merging metas Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Add step with alternative builds Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Use colcon test meta in all jobs, and fix xfail filter Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Remove redundant CMake args, and fix alternative builds Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Apply rev suggestions (3) Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Explicitly compare boolean inputs Signed-off-by: eduponz <[email protected]> * Refs #20822: Install tools on test steps to avoid losing symlink permissions Signed-off-by: eduponz <[email protected]> * Refs #20822: Update discovery_server meta file name Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Adjust ternary operators Signed-off-by: JesusPoderoso <[email protected]> * Refs #20822: Use CCache based on an input parameter Signed-off-by: JesusPoderoso <[email protected]> --------- Signed-off-by: JesusPoderoso <[email protected]> Signed-off-by: eduponz <[email protected]> Co-authored-by: eduponz <[email protected]> (cherry picked from commit 22338f3) # Conflicts: # .github/workflows/config/documentation.meta # .github/workflows/config/fastdds_build.meta # .github/workflows/documentation-tests.yaml # .github/workflows/nightly-ubuntu-ci.yml # .github/workflows/reusable-mac-ci.yml # .github/workflows/reusable-sanitizers-ci.yml # .github/workflows/reusable-ubuntu-ci.yml # .github/workflows/reusable-windows-ci.yml # .github/workflows/ubuntu-ci.yml
- Loading branch information
1 parent
15a93a0
commit cd766c7
Showing
15 changed files
with
938 additions
and
47 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
names: | ||
fastdds: | ||
cmake-args: | ||
- "-DCOMPILE_TOOLS=ON" | ||
- "-DINSTALL_TOOLS=ON" | ||
discovery-server: | ||
ctest-args: [ | ||
"--repeat", "until-pass:3", | ||
"--timeout", "300", | ||
"--label-exclude", "xfail" | ||
] |
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
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,19 @@ | ||
names: | ||
fastdds: | ||
cmake-args: | ||
- "-DEPROSIMA_BUILD_TESTS=ON" | ||
- "-DFASTDDS_PIM_API_TESTS=ON" | ||
- "-DPERFORMANCE_TESTS=ON" | ||
- "-DPROFILING_TESTS=OFF" | ||
- "-DCOMPILE_TOOLS=ON" | ||
- "-DSYSTEM_TESTS=ON" | ||
ctest-args: [ | ||
"--repeat", "until-pass:3", | ||
"--timeout", "300", | ||
"--label-exclude", "xfail" | ||
] | ||
googletest-distribution: | ||
cmake-args: | ||
- "-Dgtest_force_shared_crt=ON" | ||
- "-DBUILD_SHARED_LIBS=ON" | ||
- "-DBUILD_GMOCK=ON" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
names: | ||
fastdds_python: | ||
cmake-args: | ||
- "-DBUILD_TESTING=ON" | ||
- "-DBUILD_DOCUMENTATION=ON" | ||
ctest-args: [ | ||
"--repeat", "until-pass:3", | ||
"--timeout", "300", | ||
"--label-exclude", "xfail" | ||
] | ||
googletest-distribution: | ||
cmake-args: | ||
- "-Dgtest_force_shared_crt=ON" | ||
- "-DBUILD_SHARED_LIBS=ON" | ||
- "-DBUILD_GMOCK=ON" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
name: Fast DDS Ubuntu CI (nightly) | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 1 * * *' | ||
|
||
jobs: | ||
nightly-ubuntu-ci-master: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os-image: | ||
- 'ubuntu-22.04' | ||
security: | ||
- true | ||
- false | ||
uses: eProsima/Fast-DDS/.github/workflows/reusable-ubuntu-ci.yml@master | ||
with: | ||
os-image: ${{ matrix.os-image }} | ||
label: '${{ matrix.os-image }}-nightly-sec-${{ matrix.security }}-ubuntu-ci-master' | ||
ctest-args: "-LE xfail" | ||
fastdds-branch: 'master' | ||
security: ${{ matrix.security }} | ||
run-tests: true | ||
use-ccache: true | ||
|
||
nightly-ubuntu-ci-2_14_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os-image: | ||
- 'ubuntu-22.04' | ||
security: | ||
- true | ||
- false | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
os-image: ${{ matrix.os-image }} | ||
label: '${{ matrix.os-image }}-nightly-sec-${{ matrix.security }}-ubuntu-ci-2.14.x' | ||
ctest-args: "-LE xfail" | ||
fastdds-branch: '2.14.x' | ||
security: ${{ matrix.security }} | ||
run-tests: true | ||
use-ccache: true | ||
|
||
nightly-ubuntu-ci-2_13_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os-image: | ||
- 'ubuntu-22.04' | ||
security: | ||
- true | ||
- false | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
os-image: ${{ matrix.os-image }} | ||
label: '${{ matrix.os-image }}-nightly-sec-${{ matrix.security }}-ubuntu-ci-2.13.x' | ||
ctest-args: "-LE xfail" | ||
fastdds-branch: '2.13.x' | ||
security: ${{ matrix.security }} | ||
run-tests: true | ||
use-ccache: true | ||
|
||
nightly-ubuntu-ci-2_10_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os-image: | ||
- 'ubuntu-22.04' | ||
security: | ||
- true | ||
- false | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
os-image: ${{ matrix.os-image }} | ||
label: '${{ matrix.os-image }}-nightly-sec-${{ matrix.security }}-ubuntu-ci-2.10.x' | ||
ctest-args: "-LE xfail" | ||
fastdds-branch: '2.10.x' | ||
security: ${{ matrix.security }} | ||
run-tests: true | ||
use-ccache: true | ||
|
||
nightly-ubuntu-ci-2_6_x: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os-image: | ||
- 'ubuntu-22.04' | ||
security: | ||
- true | ||
- false | ||
uses: eProsima/Fast-DDS/.github/workflows/[email protected] | ||
with: | ||
os-image: ${{ matrix.os-image }} | ||
label: '${{ matrix.os-image }}-nightly-sec-${{ matrix.security }}-ubuntu-ci-2.6.x' | ||
ctest-args: "-LE xfail" | ||
fastdds-branch: '2.6.x' | ||
security: ${{ matrix.security }} | ||
run-tests: true | ||
use-ccache: true |
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
Oops, something went wrong.