From 3a7bb4a9904314cdc7c245209c94b8e975aef6f5 Mon Sep 17 00:00:00 2001 From: Adam Cozzette Date: Thu, 12 Dec 2024 12:09:37 -0800 Subject: [PATCH] Remove CMake downgrade workaround from Windows CI tests (#19630) This should fix some Windows tests that are failing to install a downgraded CMake version. I also fixed some of the Bazel examples tests. Two of the test runs seemed to be omitting a Bazel version and were inadvertently using Bazel 8. --- .github/workflows/test_bazel.yml | 2 ++ .github/workflows/test_cpp.yml | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_bazel.yml b/.github/workflows/test_bazel.yml index ef273306b61b..0701ed7c616b 100644 --- a/.github/workflows/test_bazel.yml +++ b/.github/workflows/test_bazel.yml @@ -36,9 +36,11 @@ jobs: # Not running Bazel 6 with bzlmod, because it doesn't support use_repo_rule in rules_jvm_external bzlmod: false - runner: ubuntu + bazelversion: '7.1.2' bzlmod: false toolchain_resolution: --incompatible_enable_proto_toolchain_resolution=true - runner: ubuntu + bazelversion: '7.1.2' bzlmod: true toolchain_resolution: --incompatible_enable_proto_toolchain_resolution=true runs-on: ${{ matrix.runner }}-latest diff --git a/.github/workflows/test_cpp.yml b/.github/workflows/test_cpp.yml index 33a7ed7108a4..fb18a521d50f 100644 --- a/.github/workflows/test_cpp.yml +++ b/.github/workflows/test_cpp.yml @@ -470,12 +470,6 @@ 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' && (!matrix.continuous-only || inputs.continuous-run)}} - 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 && (!matrix.continuous-only || inputs.continuous-run) }}