From 8a579c1af579c55bdf4fe6da81084ece3597f712 Mon Sep 17 00:00:00 2001 From: Mike Kruskal Date: Fri, 12 Jul 2024 12:31:00 -0700 Subject: [PATCH] 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 --- .github/workflows/test_cpp.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test_cpp.yml b/.github/workflows/test_cpp.yml index 3de911ac53e3..e135373f36c7 100644 --- a/.github/workflows/test_cpp.yml +++ b/.github/workflows/test_cpp.yml @@ -426,6 +426,12 @@ jobs: 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 }}