Skip to content

Commit

Permalink
Split nightly jobs to one per workflow (#5292)
Browse files Browse the repository at this point in the history
* Refs #21789: Split nightly jobs to one per workflow

Signed-off-by: eProsima <jesuspoderoso@eprosima.com>

* Refs #21789: Trigger nightly jobs at 22:00

Signed-off-by: eProsima <jesuspoderoso@eprosima.com>

* Refs #21789: Update job names

Signed-off-by: eProsima <jesuspoderoso@eprosima.com>

---------

Signed-off-by: eProsima <jesuspoderoso@eprosima.com>
  • Loading branch information
JesusPoderoso authored Oct 3, 2024
1 parent ed58ca2 commit 6e35bb1
Show file tree
Hide file tree
Showing 25 changed files with 395 additions and 307 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/nightly-mac-2.10.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Fast DDS MacOS CI (nightly 2.10.x)

on:
workflow_dispatch:
schedule:
- cron: '0 22 * * *' # At 22:00 GMT

jobs:
nightly-mac-ci-2_10_x:
strategy:
fail-fast: false
matrix:
security:
- 'ON'
- 'OFF'
uses: eProsima/Fast-DDS/.github/workflows/reusable-mac-ci.yml@2.10.x
with:
label: 'nightly-sec-${{ matrix.security }}-mac-ci-2.10.x'
cmake-args: "-DSECURITY=${{ matrix.security }}"
ctest-args: "-LE xfail"
fastdds-branch: '2.10.x'
use-ccache: false

22 changes: 22 additions & 0 deletions .github/workflows/nightly-mac-2.14.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Fast DDS MacOS CI (nightly 2.14.x)

on:
workflow_dispatch:
schedule:
- cron: '0 22 * * *' # At 22:00 GMT

jobs:
nightly-mac-ci-2_14_x:
strategy:
fail-fast: false
matrix:
security:
- 'ON'
- 'OFF'
uses: eProsima/Fast-DDS/.github/workflows/reusable-mac-ci.yml@2.14.x
with:
label: 'nightly-sec-${{ matrix.security }}-mac-ci-2.14.x'
cmake-args: "-DSECURITY=${{ matrix.security }}"
ctest-args: "-LE xfail"
fastdds-branch: '2.14.x'
use-ccache: false
22 changes: 22 additions & 0 deletions .github/workflows/nightly-mac-3.0.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Fast DDS MacOS CI (nightly 3.0.x)

on:
workflow_dispatch:
schedule:
- cron: '0 22 * * *' # At 22:00 GMT

jobs:
nightly-mac-ci-3_0_x:
strategy:
fail-fast: false
matrix:
security:
- 'ON'
- 'OFF'
uses: eProsima/Fast-DDS/.github/workflows/reusable-mac-ci.yml@3.0.x
with:
label: 'nightly-sec-${{ matrix.security }}-mac-ci-3.0.x'
cmake-args: "-DSECURITY=${{ matrix.security }}"
ctest-args: "-LE xfail"
fastdds-branch: '3.0.x'
use-ccache: false
68 changes: 0 additions & 68 deletions .github/workflows/nightly-mac-ci.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/nightly-mac-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Fast DDS MacOS CI (nightly)

on:
workflow_dispatch:
schedule:
- cron: '0 22 * * *' # At 22:00 GMT

jobs:
nightly-mac-ci-master:
strategy:
fail-fast: false
matrix:
security:
- 'ON'
- 'OFF'
uses: eProsima/Fast-DDS/.github/workflows/reusable-mac-ci.yml@master
with:
label: 'nightly-sec-${{ matrix.security }}-mac-ci-master'
cmake-args: "-DSECURITY=${{ matrix.security }}"
ctest-args: "-LE xfail"
fastdds-branch: 'master'
use-ccache: false

21 changes: 21 additions & 0 deletions .github/workflows/nightly-sanitizers-2.10.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Fast DDS Sanitizers CI (nightly 2.10.x)

on:
workflow_dispatch:
schedule:
- cron: '0 22 * * *' # At 22:00 GMT

jobs:
nightly-sanitizers-ci-2_10_x:
uses: eProsima/Fast-DDS/.github/workflows/reusable-sanitizers-ci.yml@2.10.x
with:
label: 'nightly-sec-sanitizers-ci-2.10.x'
run_asan_fastdds: true
run_asan_discovery_server: true
run_tsan_fastdds: true
colcon_build_args: ''
colcon_test_args: ''
cmake_args: ''
ctest_args: ''
fastdds_ref: '2.10.x'
discovery_server_ref: 'v1.2.1'
21 changes: 21 additions & 0 deletions .github/workflows/nightly-sanitizers-2.14.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Fast DDS Sanitizers CI (nightly 2.14.x)

on:
workflow_dispatch:
schedule:
- cron: '0 22 * * *' # At 22:00 GMT

jobs:
nightly-sanitizers-ci-2_14_x:
uses: eProsima/Fast-DDS/.github/workflows/reusable-sanitizers-ci.yml@2.14.x
with:
label: 'nightly-sec-sanitizers-ci-2.14.x'
run_asan_fastdds: true
run_asan_discovery_server: true
run_tsan_fastdds: true
colcon_build_args: ''
colcon_test_args: ''
cmake_args: ''
ctest_args: ''
fastdds_ref: '2.14.x'
discovery_server_ref: 'v1.2.2'
21 changes: 21 additions & 0 deletions .github/workflows/nightly-sanitizers-3.0.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Fast DDS Sanitizers CI (nightly 3.0.x)

on:
workflow_dispatch:
schedule:
- cron: '0 22 * * *' # At 22:00 GMT

jobs:
nightly-sanitizers-ci-3_0_x:
uses: eProsima/Fast-DDS/.github/workflows/reusable-sanitizers-ci.yml@3.0.x
with:
label: 'nightly-sec-sanitizers-ci-3.0.x'
run_asan_fastdds: true
run_asan_discovery_server: true
run_tsan_fastdds: true
colcon_build_args: ''
colcon_test_args: ''
cmake_args: ''
ctest_args: ''
fastdds_ref: '3.0.x'
discovery_server_ref: '2.0.x'
63 changes: 0 additions & 63 deletions .github/workflows/nightly-sanitizers-ci.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/nightly-sanitizers-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Fast DDS Sanitizers CI (nightly)

on:
workflow_dispatch:
schedule:
- cron: '0 22 * * *' # At 22:00 GMT

jobs:
nightly-sanitizers-ci-master:
uses: eProsima/Fast-DDS/.github/workflows/reusable-sanitizers-ci.yml@master
with:
label: 'nightly-sec-sanitizers-ci-master'
run_asan_fastdds: true
run_asan_discovery_server: true
run_tsan_fastdds: true
colcon_build_args: ''
colcon_test_args: ''
cmake_args: ''
ctest_args: ''
fastdds_ref: 'master'
discovery_server_ref: 'master'
27 changes: 27 additions & 0 deletions .github/workflows/nightly-ubuntu-2.10.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Fast DDS Ubuntu CI (nightly 2.10.x)

on:
workflow_dispatch:
schedule:
- cron: '0 22 * * *' # At 22:00 GMT

jobs:
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/reusable-ubuntu-ci.yml@2.10.x
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-build: true
run-tests: true
use-ccache: false
27 changes: 27 additions & 0 deletions .github/workflows/nightly-ubuntu-2.14.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Fast DDS Ubuntu CI (nightly 2.14.x)

on:
workflow_dispatch:
schedule:
- cron: '0 22 * * *' # At 22:00 GMT

jobs:
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/reusable-ubuntu-ci.yml@2.14.x
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-build: true
run-tests: true
use-ccache: false
27 changes: 27 additions & 0 deletions .github/workflows/nightly-ubuntu-3.0.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Fast DDS Ubuntu CI (nightly 3.0.x)

on:
workflow_dispatch:
schedule:
- cron: '0 22 * * *' # At 22:00 GMT

jobs:
nightly-ubuntu-ci-3_0_x:
strategy:
fail-fast: false
matrix:
os-image:
- 'ubuntu-22.04'
security:
- true
- false
uses: eProsima/Fast-DDS/.github/workflows/reusable-ubuntu-ci.yml@3.0.x
with:
os-image: ${{ matrix.os-image }}
label: '${{ matrix.os-image }}-nightly-sec-${{ matrix.security }}-ubuntu-ci-3.0.x'
ctest-args: "-LE xfail"
fastdds-branch: '3.0.x'
security: ${{ matrix.security }}
run-build: true
run-tests: true
use-ccache: false
Loading

0 comments on commit 6e35bb1

Please sign in to comment.