41
41
msvc : [ msvc-2022 ]
42
42
build_type : [ Debug, Release ]
43
43
arch : [ x64, x86 ]
44
- shard : [Core1, Core2, Core3, Compute, AIPlatform, Shard1, Shard2, Shard3, Other]
44
+ shard : [Core1, Core2, Core3, Core4, Compute, AIPlatform, Shard1, Shard2, Shard3, Shard4 , Other]
45
45
exclude :
46
46
# Also skip shards (Compute and Other) that contain only generated code.
47
47
- exclude-from-full-trick : ${{ ! inputs.full-matrix }}
54
54
shard : Shard2
55
55
- exclude-from-full-trick : ${{ ! inputs.full-matrix }}
56
56
shard : Shard3
57
+ - exclude-from-full-trick : ${{ ! inputs.full-matrix }}
58
+ shard : Shard4
57
59
- exclude-from-full-trick : ${{ ! inputs.full-matrix }}
58
60
shard : Other
59
61
# No need to duplicate testing with x86 mode and Debug mode
82
84
echo "vcpkg-version=$(cat ci/etc/vcpkg-version.txt)" >> "${GITHUB_OUTPUT}"
83
85
core1_features=(bigtable pubsub pubsublite)
84
86
core2_features=(spanner)
85
- core3_features=(storage storage_grpc)
87
+ core3_features=(storage)
88
+ core4_features=(storage_grpc)
86
89
# These are the libraries with the most "clients". To build the list
87
90
# run something like this and create shards:
88
91
#
@@ -169,6 +172,45 @@ jobs:
169
172
vision
170
173
workflows
171
174
)
175
+ shard4_features=(
176
+ accessapproval
177
+ accesscontextmanager
178
+ advisorynotifications
179
+ alloydb
180
+ apigateway
181
+ apigeeconnect
182
+ apikeys
183
+ apphub
184
+ artifactregistry
185
+ assuredworkloads
186
+ backupdr
187
+ baremetalsolution
188
+ batch
189
+ certificatemanager
190
+ cloudquotas
191
+ commerce
192
+ confidentialcomputing
193
+ config
194
+ connectors
195
+ contactcenterinsights
196
+ container
197
+ datafusion
198
+ datamigration
199
+ datastream
200
+ deploy
201
+ developerconnect
202
+ dlp
203
+ documentai
204
+ domains
205
+ edgecontainer
206
+ edgenetwork
207
+ essentialcontacts
208
+ filestore
209
+ financialservices
210
+ gkebackup
211
+ gkeconnect
212
+ gkehub
213
+ )
172
214
if [[ "${{ matrix.shard }}" == "Core1" ]]; then
173
215
features="$(printf ",%s" "${core1_features[@]}")"
174
216
echo "features=${features:1}" >> "${GITHUB_OUTPUT}"
@@ -178,6 +220,9 @@ jobs:
178
220
elif [[ "${{ matrix.shard }}" == "Core3" ]]; then
179
221
features="$(printf ",%s" "${core3_features[@]}")"
180
222
echo "features=${features:1}" >> "${GITHUB_OUTPUT}"
223
+ elif [[ "${{ matrix.shard }}" == "Core4" ]]; then
224
+ features="$(printf ",%s" "${core4_features[@]}")"
225
+ echo "features=${features:1}" >> "${GITHUB_OUTPUT}"
181
226
elif [[ "${{matrix.shard}}" == "Compute" ]]; then
182
227
echo "features=compute" >> "${GITHUB_OUTPUT}"
183
228
elif [[ "${{matrix.shard}}" == "AIPlatform" ]]; then
@@ -191,15 +236,20 @@ jobs:
191
236
elif [[ "${{matrix.shard}}" == "Shard3" ]]; then
192
237
features="$(printf ",%s" "${shard3_features[@]}")"
193
238
echo "features=${features:1}" >> "${GITHUB_OUTPUT}"
239
+ elif [[ "${{matrix.shard}}" == "Shard4" ]]; then
240
+ features="$(printf ",%s" "${shard4_features[@]}")"
241
+ echo "features=${features:1}" >> "${GITHUB_OUTPUT}"
194
242
else
195
243
skipped_features=("${core1_features[@]}")
196
244
skipped_features+=("${core2_features[@]}")
197
245
skipped_features+=("${core3_features[@]}")
246
+ skipped_features+=("${core4_features[@]}")
198
247
skipped_features+=(compute)
199
248
skipped_features+=(aiplatform)
200
249
skipped_features+=("${shard1_features[@]}")
201
250
skipped_features+=("${shard2_features[@]}")
202
251
skipped_features+=("${shard3_features[@]}")
252
+ skipped_features+=("${shard4_features[@]}")
203
253
# We use vcpkg in this build, which ships with Protobuf v21.x.
204
254
# Both `asset` and `channel` require Protobuf >= 23.x to compile on
205
255
# Windows.
@@ -210,6 +260,12 @@ jobs:
210
260
- name : Pre Build Disk Space
211
261
shell : bash
212
262
run : df -m
263
+ - name : Download and Install CMake
264
+ shell : bash
265
+ run : |
266
+ choco install -y --allow-downgrade cmake --version 3.31.6 || \
267
+ (sleep 60 ; choco install -y --allow-downgrade cmake --version 3.31.6) || \
268
+ (sleep 120 ; choco install -y --allow-downgrade cmake --version 3.31.6)
213
269
- name : Download and Install sccache
214
270
if : ${{ inputs.sccache-mode != 'DISABLED' }}
215
271
working-directory : " ${{runner.temp}}"
0 commit comments