Skip to content

Commit 8a579c1

Browse files
mkruskal-googlezhangskz
authored andcommitted
Downgrade CMake to 3.29 to workaround Abseil issue.
This was fixed in abseil/abseil-cpp@cd7f66c, but older versions of Abseil break in CMake 3.30, which github runners now use by default. PiperOrigin-RevId: 651854867
1 parent ba3e7d7 commit 8a579c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test_cpp.yml

+6
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,12 @@ jobs:
426426
arch: ${{ matrix.windows-arch || 'x64' }}
427427
vsversion: ${{ matrix.vsversion }}
428428

429+
# Workaround for Abseil incompatibility with CMake 3.30 (b/352354235).
430+
- name: Downgrade CMake
431+
if: ${{ runner.os == 'Windows' }}
432+
run: choco install cmake --version 3.29.6 --force
433+
shell: bash
434+
429435
# Workaround for incompatibility between gcloud and windows-2019 runners.
430436
- name: Install Python
431437
if: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)