Skip to content

Commit 04207ac

Browse files
authored
ci(gha): split shard and disable debug build for storage_grpc (#15071)
1 parent 38e18a8 commit 04207ac

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/windows-cmake.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
msvc: [ msvc-2022 ]
4242
build_type: [ Debug, Release ]
4343
arch: [ x64, x86 ]
44-
shard: [Core1, Core2, Core3, Core4, Compute, AIPlatform, Shard1, Shard2, Shard3, Shard4, Other]
44+
shard: [Core1, Core2, Core3, Core4, Core5, Compute, AIPlatform, Shard1, Shard2, Shard3, Shard4, Other]
4545
exclude:
4646
# Also skip shards (Compute and Other) that contain only generated code.
4747
- exclude-from-full-trick: ${{ ! inputs.full-matrix }}
@@ -61,6 +61,9 @@ jobs:
6161
# No need to duplicate testing with x86 mode and Debug mode
6262
- arch: x86
6363
build_type: Debug
64+
# TODO(#15070): Undo exclusion of the shard if we can reduce PDB size.
65+
- shard: Core4
66+
build_type: Debug
6467
steps:
6568
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
6669
with:
@@ -82,10 +85,11 @@ jobs:
8285
shell: bash
8386
run: |
8487
echo "vcpkg-version=$(cat ci/etc/vcpkg-version.txt)" >> "${GITHUB_OUTPUT}"
85-
core1_features=(bigtable pubsub pubsublite)
88+
core1_features=(bigtable)
8689
core2_features=(spanner)
8790
core3_features=(storage)
8891
core4_features=(storage_grpc)
92+
core5_features=(pubsub pubsublite)
8993
# These are the libraries with the most "clients". To build the list
9094
# run something like this and create shards:
9195
#
@@ -223,6 +227,9 @@ jobs:
223227
elif [[ "${{ matrix.shard }}" == "Core4" ]]; then
224228
features="$(printf ",%s" "${core4_features[@]}")"
225229
echo "features=${features:1}" >> "${GITHUB_OUTPUT}"
230+
elif [[ "${{ matrix.shard }}" == "Core5" ]]; then
231+
features="$(printf ",%s" "${core5_features[@]}")"
232+
echo "features=${features:1}" >> "${GITHUB_OUTPUT}"
226233
elif [[ "${{matrix.shard}}" == "Compute" ]]; then
227234
echo "features=compute" >> "${GITHUB_OUTPUT}"
228235
elif [[ "${{matrix.shard}}" == "AIPlatform" ]]; then
@@ -244,6 +251,7 @@ jobs:
244251
skipped_features+=("${core2_features[@]}")
245252
skipped_features+=("${core3_features[@]}")
246253
skipped_features+=("${core4_features[@]}")
254+
skipped_features+=("${core5_features[@]}")
247255
skipped_features+=(compute)
248256
skipped_features+=(aiplatform)
249257
skipped_features+=("${shard1_features[@]}")

0 commit comments

Comments
 (0)