diff --git a/.github/workflows/nightly-ubuntu-ci.yml b/.github/workflows/nightly-ubuntu-ci.yml deleted file mode 100644 index 4784cb8808c..00000000000 --- a/.github/workflows/nightly-ubuntu-ci.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Fast-DDS Ubuntu CI (nightly) - -on: - workflow_dispatch: - schedule: - - cron: '0 1 * * *' - -jobs: - nightly-sec-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: '${{ matrix.os-image }}-nightly-sec-ubuntu-ci' - cmake-args: "-DSECURITY=ON" - ctest-args: "-LE xfail" - fastdds-branch: 'master' diff --git a/.github/workflows/ubuntu-ci.yml b/.github/workflows/ubuntu-ci.yml new file mode 100644 index 00000000000..6c73a7dc85d --- /dev/null +++ b/.github/workflows/ubuntu-ci.yml @@ -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.12.x' }}