Downgrade CMake to 3.29 to workaround Abseil issue. This was fixed in https://github.com/abseil/abseil-cpp/commit/cd7f66cab520e99531979b3fd727a25616a1ccbb, but older versions of Abseil break in CMake 3.30, which github runners now use by default. PiperOrigin-RevId: 651854867
diff --git a/.github/workflows/test_cpp.yml b/.github/workflows/test_cpp.yml index 4d3ea0f..72482d1 100644 --- a/.github/workflows/test_cpp.yml +++ b/.github/workflows/test_cpp.yml
@@ -408,6 +408,12 @@ arch: ${{ matrix.windows-arch || 'x64' }} 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. - name: Install Python if: ${{ matrix.python-version }}