This is an automated email from the ASF dual-hosted git repository.

wgtmac pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new dc57c8fc fix(ci): pin CMake for AWS and Windows SQL tests (#1148)
dc57c8fc is described below

commit dc57c8fcc828e18a8d5b4dd434ad79ec9d02665a
Author: Manu Zhang <[email protected]>
AuthorDate: Thu Nov 19 13:52:05 2026 +0800

    fix(ci): pin CMake for AWS and Windows SQL tests (#1148)
---
 .github/workflows/aws_test.yml         | 10 ++++++++++
 .github/workflows/sql_catalog_test.yml | 13 +++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/.github/workflows/aws_test.yml b/.github/workflows/aws_test.yml
index 264ee69a..81df15a5 100644
--- a/.github/workflows/aws_test.yml
+++ b/.github/workflows/aws_test.yml
@@ -119,6 +119,16 @@ jobs:
         run: |
           echo "CC=${{ matrix.CC }}" >> $GITHUB_ENV
           echo "CXX=${{ matrix.CXX }}" >> $GITHUB_ENV
+      - name: Set up Python
+        uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # 
v7.1.0
+        with:
+          python-version: '3.13'
+      # Both SDK modes build Boost.Locale, whose source_group CMake 4.5 
rejects.
+      - name: Pin CMake to 4.4.5
+        run: |
+          python -m pip install "cmake==4.4.5"
+          cmake --version
+          test "$(cmake --version | head -n 1)" = "cmake version 4.4.5"
       - name: Start Object Store
         if: ${{ matrix.s3 == 'ON' }}
         shell: bash
diff --git a/.github/workflows/sql_catalog_test.yml 
b/.github/workflows/sql_catalog_test.yml
index b476cf5f..8b4d43fa 100644
--- a/.github/workflows/sql_catalog_test.yml
+++ b/.github/workflows/sql_catalog_test.yml
@@ -102,6 +102,19 @@ jobs:
         shell: pwsh
         run: |
           vcpkg install zlib:x64-windows nlohmann-json:x64-windows 
nanoarrow:x64-windows roaring:x64-windows sqlite3:x64-windows 
openssl:x64-windows
+      - name: Set up Python on Windows
+        if: ${{ startsWith(matrix.runs-on, 'windows') }}
+        uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # 
v7.1.0
+        with:
+          python-version: '3.13'
+      # CMake 4.5 rejects bundled Boost.Locale's source_group tree.
+      - name: Pin CMake to 4.4.5 on Windows
+        if: ${{ startsWith(matrix.runs-on, 'windows') }}
+        shell: bash
+        run: |
+          python -m pip install "cmake==4.4.5"
+          cmake --version
+          test "$(cmake --version | tr -d '\r' | head -n 1)" = "cmake version 
4.4.5"
       - name: Set up sccache
         uses: ./.github/actions/setup-sccache
         with:

Reply via email to