Skip to content

[25442] Make skip-ci label report required statuses as pass (backport #6442) (backport #6443) #4228

[25442] Make skip-ci label report required statuses as pass (backport #6442) (backport #6443)

[25442] Make skip-ci label report required statuses as pass (backport #6442) (backport #6443) #4228

Workflow file for this run

name: Fast-DDS MacOS 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
use-ccache:
description: 'Use CCache to speed up the build'
required: false
type: boolean
default: false
run-tests:
description: 'Run test suite of Fast DDS'
required: false
type: boolean
default: true
pull_request:
types:
- review_requested
paths-ignore:
- '**.md'
- '**.txt'
- '!**/CMakeLists.txt'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
mac-ci:
if: ${{ !(github.event_name == 'pull_request') || !contains(github.event.pull_request.labels.*.name, 'conflicts') }}
uses: ./.github/workflows/reusable-mac-ci.yml
with:
label: ${{ inputs.label || 'mac-ci' }}
colcon-args: ${{ inputs.colcon-args }}
cmake-args: '-DSECURITY=ON ${{ inputs.cmake-args }} -DTHIRDPARTY_Asio=FORCE'
ctest-args: ${{ inputs.ctest-args }}
fastdds-branch: ${{ inputs.fastdds_branch || github.ref || '2.14.x' }}
use-ccache: ${{ ((inputs.use-ccache == true) && true) || false }}
run-build: ${{ !(github.event_name == 'pull_request') ||
!contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
run-tests: ${{ (inputs.run-tests == true) ||
(
(github.event_name == 'pull_request') &&
(!contains(github.event.pull_request.labels.*.name, 'no-test')) &&
(!contains(github.event.pull_request.labels.*.name, 'skip-ci'))
) }}