Skip to content

Commit cda7b98

Browse files
committed
ci: reduce number of GHA builds
1 parent 855ac89 commit cda7b98

File tree

4 files changed

+22
-19
lines changed

4 files changed

+22
-19
lines changed

.github/workflows/macos-bazel.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ jobs:
3131
matrix:
3232
os: [ macos-14 ]
3333
shard:
34-
- Core
35-
- Bigtable
36-
- Pub/Sub
37-
- Spanner
34+
# - Core
35+
# - Bigtable
36+
# - Pub/Sub
37+
# - Spanner
3838
- Storage
39-
- Compute
40-
- AIPlatform
41-
- Shard1
42-
- Shard2
43-
- Other
39+
# - Compute
40+
# - AIPlatform
41+
# - Shard1
42+
# - Shard2
43+
# - Other
4444
include:
4545
- shard: Core
4646
targets:

.github/workflows/macos-cmake.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
matrix:
4040
exclude-from-full-trick: [ true ]
4141
os: [ macos-14 ]
42-
shard: [ Core1, Core2, Compute, AIPlatform, Shard1, Shard2, Shard3, Shard4, Shard5, Other ]
42+
shard: [ Core2 ]
43+
# shard: [ Core1, Core2, Compute, AIPlatform, Shard1, Shard2, Shard3, Shard4, Shard5, Other ]
4344
exclude:
4445
# Only full builds include shards with generated code.
4546
- exclude-from-full-trick: ${{ ! inputs.full-matrix }}
@@ -84,8 +85,8 @@ jobs:
8485
spanner
8586
)
8687
core2_features=(
87-
pubsub
88-
pubsublite
88+
# pubsub
89+
# pubsublite
8990
storage
9091
storage_grpc
9192
)

.github/workflows/windows-bazel.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,18 @@ jobs:
3333
# - dbg creates very large debugging files and GHA has limited storage.
3434
# - fastbuild also takes too much storage.
3535
compilation_mode: [ opt ]
36-
shard: [ Core, Compute, AIPlatform, Other ]
36+
shard: [ Core ]
37+
# shard: [ Core, Compute, AIPlatform, Other ]
3738
include:
3839
- shard: Core
3940
targets:
40-
- //google/cloud:all
41+
# - //google/cloud:all
4142
# - //generator/... # Does not build on Windows
4243
# - //docfx/... # Does not build on Windows
43-
- //google/cloud/bigtable/...
44-
- //google/cloud/pubsub/...
45-
- //google/cloud/pubsublite/...
46-
- //google/cloud/spanner/...
44+
# - //google/cloud/bigtable/...
45+
# - //google/cloud/pubsub/...
46+
# - //google/cloud/pubsublite/...
47+
# - //google/cloud/spanner/...
4748
- //google/cloud/storage/...
4849
- shard: Compute
4950
targets:

.github/workflows/windows-cmake.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
msvc: [ msvc-2022 ]
4242
build_type: [ Debug, Release ]
4343
arch: [ x64, x86 ]
44-
shard: [Core1, Core2, Core3, Core4, Core5, Compute, AIPlatform, Shard1, Shard2, Shard3, Shard4, Other]
44+
# shard: [Core1, Core2, Core3, Core4, Core5, Compute, AIPlatform, Shard1, Shard2, Shard3, Shard4, Other]
45+
shard: [ Core3, Core4 ]
4546
exclude:
4647
# Also skip shards (Compute and Other) that contain only generated code.
4748
- exclude-from-full-trick: ${{ ! inputs.full-matrix }}

0 commit comments

Comments
 (0)