Skip to content

Commit df19117

Browse files
committed
Refs #23483. Add github workflow
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
1 parent 23498a9 commit df19117

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

.github/workflows/reusable-windows-ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ on:
2525
description: 'Extra arguments for cmake cli'
2626
required: false
2727
type: string
28+
cmake-version:
29+
description: 'CMake version to install'
30+
required: false
31+
default: '3.24.4'
32+
type: string
2833
ctest-args:
2934
description: 'Extra arguments for ctest cli'
3035
required: false
@@ -91,7 +96,7 @@ jobs:
9196
- name: Get minimum supported version of CMake
9297
uses: eProsima/eProsima-CI/external/get-cmake@v0
9398
with:
94-
cmakeVersion: '3.24.4'
99+
cmakeVersion: ${{ inputs.cmake-version }}
95100

96101
- name: Install OpenSSL
97102
uses: eProsima/eprosima-CI/windows/install_openssl@v0

.github/workflows/windows-ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,23 @@ jobs:
6969
fastdds-branch: ${{ inputs.fastdds-branch || 'master' }}
7070
run-build: ${{ !(github.event_name == 'pull_request') || !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
7171
run-tests: ${{ (inputs.run-tests == true) || ((github.event_name == 'pull_request') && (!contains(github.event.pull_request.labels.*.name, 'no-test'))) }}
72+
73+
windows-ci-stable-abi:
74+
if: ${{ !(github.event_name == 'pull_request') || !contains(github.event.pull_request.labels.*.name, 'conflicts') }}
75+
strategy:
76+
fail-fast: false
77+
uses: ./.github/workflows/reusable-windows-ci.yml
78+
with:
79+
# It would be desirable to have a matrix of windows OS for this job, but due to the issue opened in this ticket:
80+
# https://github.com/orgs/community/discussions/128118 , it has been set as a single OS job.
81+
os-version: ${{ inputs.os-version || 'windows-2022' }}
82+
vs-toolset: 'v143'
83+
label: '${{ inputs.os-version }}-${{ matrix.vs-toolset }}-stable-api-ci-${{ inputs.fastdds-python-branch }}-${{ inputs.fastdds-branch }}'
84+
colcon-args: ${{ inputs.colcon-args }}
85+
cmake-args: '${{ inputs.cmake-args }} -DUSE_PYTHON_STABLE_ABI=ON'
86+
cmake-version: '3.30.8'
87+
ctest-args: ${{ inputs.ctest-args }}
88+
fastdds-python-branch: ${{ inputs.fastdds-python-branch || github.ref }}
89+
fastdds-branch: ${{ inputs.fastdds-branch || 'master' }}
90+
run-build: ${{ !(github.event_name == 'pull_request') || !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
91+
run-tests: ${{ (inputs.run-tests == true) || ((github.event_name == 'pull_request') && (!contains(github.event.pull_request.labels.*.name, 'no-test'))) }}

0 commit comments

Comments
 (0)