-
Notifications
You must be signed in to change notification settings - Fork 304
218 lines (193 loc) · 6.79 KB
/
build-vcpkg.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
name: Test Build
on:
workflow_dispatch:
inputs:
os:
type: choice
options:
- 'ubuntu-24.04'
- 'ubuntu-22.04'
- 'ubuntu-20.04'
- 'rockylinux-8'
description: 'Operating System'
required: false
default: 'ubuntu-22.04'
ln:
type: boolean
description: 'Internal Build'
required: false
default: false
smoketest:
type: boolean
description: 'Run Smoketest'
required: false
default: false
# Do not include "push" in final version (uncomment for testing on users own repo)
# push:
pull_request:
branches:
- "master"
- "candidate-*"
- "!candidate-7.10.*"
- "!candidate-7.8.*"
- "!candidate-7.6.*"
- "!candidate-7.4.*"
- "!candidate-7.2.*"
- "!candidate-7.0.*"
- "!candidate-6.*"
schedule:
- cron: "0 0 * * *"
jobs:
build-workflow-dispatch:
if: ${{ contains('workflow_dispatch', github.event_name) }}
uses: ./.github/workflows/build-docker.yml
with:
os: ${{ inputs.os }}
ln: ${{ inputs.ln }}
upload-package: true
asset-name: 'docker-package'
secrets: inherit
test-workflow-dispatch:
if: ${{ contains('workflow_dispatch', github.event_name) && inputs.smoketest == true }}
needs: build-workflow-dispatch
uses: ./.github/workflows/test-smoke-gh_runner.yml
with:
os: ${{ inputs.os }}
asset-name: 'docker-package'
secrets: inherit
build-docker-ubuntu-24_04:
if: ${{ contains('pull_request,push', github.event_name) }}
uses: ./.github/workflows/build-docker.yml
with:
os: ubuntu-24.04
secrets: inherit
build-docker-ubuntu-22_04:
if: ${{ contains('pull_request,push', github.event_name) }}
uses: ./.github/workflows/build-docker.yml
with:
os: ubuntu-22.04
upload-package: true
asset-name: 'docker-ubuntu-22_04'
secrets: inherit
test-smoke-docker-ubuntu-22_04:
if: ${{ contains('pull_request,push', github.event_name) }}
needs: build-docker-ubuntu-22_04
uses: ./.github/workflows/test-smoke-gh_runner.yml
with:
os: ubuntu-22.04
asset-name: 'docker-ubuntu-22_04'
secrets: inherit
test-regression-suite-k8s-ubuntu-22_04:
if: ${{ contains('pull_request,push', github.event_name) }}
uses: ./.github/workflows/test-regression-suite-k8s.yml
secrets: inherit
with:
os: ubuntu-22.04
asset-name: 'docker-ubuntu-22_04-containerized'
test-unit-docker-ubuntu-22_04:
if: ${{ contains('pull_request,push', github.event_name) }}
needs: build-docker-ubuntu-22_04
uses: ./.github/workflows/test-unit-gh_runner.yml
with:
os: ubuntu-22.04
asset-name: 'docker-ubuntu-22_04'
secrets: inherit
test-ui-docker-ubuntu-22_04:
if: ${{ contains('pull_request,push', github.event_name) }}
needs: build-docker-ubuntu-22_04
uses: ./.github/workflows/test-ui-gh_runner.yml
with:
os: ubuntu-22.04
asset-name: 'docker-ubuntu-22_04'
secrets: inherit
test-bundles-on-thor-ubuntu-22_04:
if: ${{ contains('pull_request,push', github.event_name) }}
needs: build-docker-ubuntu-22_04
uses: ./.github/workflows/bundleTest-thor.yml
with:
os: ubuntu-22.04
asset-name: 'docker-ubuntu-22_04'
generate-zap: ""
secrets: inherit
check-documentation-changes:
if: ${{ contains('pull_request,push', github.event_name) }}
runs-on: ubuntu-22.04
outputs:
documentation_contents_changed: ${{ steps.variables.outputs.documentation_contents_changed }}
steps:
- name: Check for Documentation Changes
id: changed
uses: dorny/paths-filter@v3
with:
filters: |
src:
- 'docs/**'
- '.github/workflows/test-documentation.yml'
- name: Set Output
id: variables
run: |
echo "documentation_contents_changed=${{ steps.changed.outputs.src }}" >> $GITHUB_OUTPUT
- name: Print Variables
run: |
echo "${{ toJSON(steps.variables.outputs)}}"
test-documentation-ubuntu-22_04:
needs: check-documentation-changes
if: ${{ contains('pull_request,push', github.event_name) && needs.check-documentation-changes.outputs.documentation_contents_changed == 'true' }}
uses: ./.github/workflows/test-documentation.yml
with:
os: 'ubuntu-22.04'
asset-name: 'Documentation'
build-docker-ubuntu-20_04:
if: ${{ contains('schedule,push', github.event_name) }}
uses: ./.github/workflows/build-docker.yml
with:
os: ubuntu-20.04
secrets: inherit
build-docker-rockylinux-8:
if: ${{ contains('schedule,push', github.event_name) }}
uses: ./.github/workflows/build-docker.yml
with:
os: rockylinux-8
secrets: inherit
build-gh_runner-ubuntu-22_04:
if: ${{ contains('schedule,push', github.event_name) }}
uses: ./.github/workflows/build-gh_runner.yml
with:
os: ubuntu-22.04
secrets: inherit
build-gh_runner-ubuntu-20_04:
if: ${{ contains('schedule,push', github.event_name) }}
uses: ./.github/workflows/build-gh_runner.yml
with:
os: ubuntu-20.04
secrets: inherit
build-gh_runner-windows-2022:
if: ${{ contains('pull_request,push', github.event_name) }}
uses: ./.github/workflows/build-gh_runner.yml
with:
os: windows-2022
cmake-configuration-ex: '-T host=x64 -A x64 -DUSE_CPPUNIT=OFF -DCLIENTTOOLS_ONLY=ON -DUSE_AZURE=OFF -DINCLUDE_PLUGINS=OFF -DUSE_CASSANDRA=OFF -DUSE_PARQUET=OFF -DUSE_JAVA=OFF -DUSE_OPENLDAP=OFF'
secrets: inherit
build-gh_runner-windows-2019:
if: ${{ contains('schedule,push', github.event_name) }}
uses: ./.github/workflows/build-gh_runner.yml
with:
os: windows-2019
cmake-configuration-ex: '-T host=x64 -A x64 -DUSE_CPPUNIT=OFF -DCLIENTTOOLS_ONLY=ON -DINCLUDE_PLUGINS=OFF -DUSE_AZURE=OFF -DUSE_CASSANDRA=OFF -DUSE_PARQUET=OFF -DUSE_JAVA=OFF -DUSE_OPENLDAP=OFF'
secrets: inherit
build-gh_runner-macos-14:
if: ${{ contains('pull_request,push', github.event_name) }}
uses: ./.github/workflows/build-gh_runner.yml
with:
os: macos-14
build-type: 'Release'
cmake-configuration-ex: '-DUSE_CPPUNIT=OFF -DCLIENTTOOLS_ONLY=ON -DINCLUDE_PLUGINS=OFF -DUSE_AZURE=OFF -DUSE_CASSANDRA=OFF -DUSE_PARQUET=OFF -DSUPPRESS_CASSANDRAEMBED=ON -DUSE_JAVA=OFF -DUSE_OPENLDAP=OFF'
secrets: inherit
build-gh_runner-macos-13:
if: ${{ contains('schedule,push', github.event_name) }}
uses: ./.github/workflows/build-gh_runner.yml
with:
os: macos-13
build-type: 'Release'
cmake-configuration-ex: '-DUSE_CPPUNIT=OFF -DCLIENTTOOLS_ONLY=ON -DINCLUDE_PLUGINS=OFF -DUSE_AZURE=OFF -DUSE_CASSANDRA=OFF -DUSE_PARQUET=OFF -DSUPPRESS_CASSANDRAEMBED=ON -DUSE_JAVA=OFF -DUSE_OPENLDAP=OFF'
secrets: inherit