Skip to content

[21535] Use eProsima-CI action to install Qt (backport #173) #38

[21535] Use eProsima-CI action to install Qt (backport #173)

[21535] Use eProsima-CI action to install Qt (backport #173) #38

Workflow file for this run

name: Shapes Demo Windows CI
on:
workflow_dispatch:
inputs:
os-version:
description: 'OS version to run the workflow'
required: false
default: 'windows-2019'
type: string
vs-toolset:
description: 'The VS toolset to use for the build'
required: false
default: 'v142'
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
shapes-demo-branch:
description: 'Branch or tag of Shapes Demo repository'
required: true
type: string
fastdds-branch:
description: 'Branch or tag of Fast DDS repository'
type: string
required: 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:
windows-ci:
strategy:
fail-fast: false
matrix:
vs-toolset:
- 'v141'
- 'v142'
if: ${{ !(github.event_name == 'pull_request') || !contains(github.event.pull_request.labels.*.name, 'conflicts') }}
uses: ./.github/workflows/reusable-windows-ci.yml
with:
# It would be desirable to have a matrix of ubuntu OS for this job, but due to the issue opened in this ticket:
# https://github.com/orgs/community/discussions/128118 , it has been set as a single OS job.
os-version: ${{ inputs.os-version || 'windows-2019' }}
vs-toolset: ${{ inputs.vs-toolset || matrix.vs-toolset }}
label: 'windows-${{ matrix.vs-toolset }}-ci-2.14.x'
colcon-args: ${{ inputs.colcon-args }}
cmake-args: ${{ inputs.cmake-args }}
ctest-args: ${{ inputs.ctest-args }}
shapes-demo-branch: ${{ inputs.shapes-demo-branch || github.ref }}
fastdds-branch: ${{ inputs.fastdds-branch || '2.14.x' }}
run-build: ${{ !(github.event_name == 'pull_request') || !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}