-
Notifications
You must be signed in to change notification settings - Fork 16
62 lines (52 loc) · 1.61 KB
/
reusable-windows-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Reusable workflow to run the following jobs:
#
# - multiplatform-tests
# - [ windows-2019 | windows-2022 ]
# - [ Debug | Release ]
# - execute tests in different versions of ubuntu with different build types
#
name: windows-ci
on:
workflow_dispatch:
workflow_call:
inputs:
custom_version_build:
description: >
Version of Fast DDS build from eProsima-CI.
required: true
type: string
dependencies_artifact_postfix:
description: >
Postfix name to add to artifact name to download dependencies.
This is use to download a specific artifact version from eProsima-CI.
required: true
default: '_nightly'
type: string
ref:
description: >
The branch or tag name to checkout.
required: true
type: string
default: 'main'
env:
# TODO: controller is not tested as it has no tests
code_packages_names: 'ddsrecorder_participants ddsrecorder_yaml ddsrecorder_tool ddsreplayer_tool'
docs_packages_names: 'ddsrecorder_docs'
jobs:
#####################################################################
# TEST
multiplatform-tests:
name: ${{ matrix.os }}-ci
strategy:
fail-fast: false
matrix:
os:
- windows-2019
- windows-2022
uses: ./.github/workflows/reusable-workflow.yml
with:
os: ${{ matrix.os }}
custom_version_build: ${{ inputs.custom_version_build || 'v3' }}
dependencies_artifact_postfix: ${{ inputs.dependencies_artifact_postfix || '_nightly' }}
ref: ${{ inputs.ref }}
secrets: inherit