Skip to content

Commit bdb1f75

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 165cf12 commit bdb1f75

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test_cpp.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,12 @@ jobs:
408408
arch: ${{ matrix.windows-arch || 'x64' }}
409409
vsversion: ${{ matrix.vsversion }}
410410

411+
# Workaround for Abseil incompatibility with CMake 3.30 (b/352354235).
412+
- name: Downgrade CMake
413+
if: ${{ runner.os == 'Windows' }}
414+
run: choco install cmake --version 3.29.6 --force
415+
shell: bash
416+
411417
# Workaround for incompatibility between gcloud and windows-2019 runners.
412418
- name: Install Python
413419
if: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)