Downgrade CMake to 3.29 to workaround Abseil issue.

This was fixed in cd7f66cab5, but older versions of Abseil break in CMake 3.30, which github runners now use by default.

PiperOrigin-RevId: 651854867
pull/17514/head
Mike Kruskal 5 months ago committed by Sandy Zhang
parent 165cf123c1
commit bdb1f75fdb
  1. 6
      .github/workflows/test_cpp.yml

@ -408,6 +408,12 @@ jobs:
arch: ${{ matrix.windows-arch || 'x64' }} arch: ${{ matrix.windows-arch || 'x64' }}
vsversion: ${{ matrix.vsversion }} vsversion: ${{ matrix.vsversion }}
# Workaround for Abseil incompatibility with CMake 3.30 (b/352354235).
- name: Downgrade CMake
if: ${{ runner.os == 'Windows' }}
run: choco install cmake --version 3.29.6 --force
shell: bash
# Workaround for incompatibility between gcloud and windows-2019 runners. # Workaround for incompatibility between gcloud and windows-2019 runners.
- name: Install Python - name: Install Python
if: ${{ matrix.python-version }} if: ${{ matrix.python-version }}

Loading…
Cancel
Save