Skip to content

Commit

Permalink
Refs #20542: Refactor nightly workflow to be wd (workflow dispatch) only
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed Mar 5, 2024
1 parent 9b99223 commit 8a2e1dd
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/nightly-ubuntu-ci.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/ubuntu-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Fast-DDS Ubuntu CI

on:
workflow_dispatch:
inputs:
label:
description: 'ID associated to the workflow'
required: true
type: string
colcon-args:
description: 'Extra arguments for colcon cli'
required: false
type: string
cmake-args:
description: 'Extra arguments for cmake cli'
required: false
type: string
ctest-args:
description: 'Extra arguments for ctest cli'
required: false
type: string
fastdds_branch:
description: 'Branch or tag of Fast DDS repository (https://github.com/eProsima/Fast-DDS)'
type: string
required: true

jobs:
ubuntu-ci:

strategy:
fail-fast: false
matrix:
os-image:
- 'ubuntu-22.04'

uses: ./.github/workflows/reusable-ubuntu-ci.yml
with:
os-image: ${{ matrix.os-image }}
label: ${{ inputs.label || 'ubuntu-ci' }}
colcon-args: ${{ inputs.colcon-args }}
cmake-args: ${{ inputs.cmake-args || "-DSECURITY=ON" }}
ctest-args: ${{ inputs.ctest-args || "-LE xfail" }}
fastdds-branch: ${{ inputs.fastdds_branch || github.ref || '2.10.x' }}

0 comments on commit 8a2e1dd

Please sign in to comment.