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 e97a8e84 fix(ci): fix macOS ci to use provided fmt (#670)
e97a8e84 is described below

commit e97a8e84d9fa31ea15f793a009769c9d6d65e9af
Author: slfan1989 <[email protected]>
AuthorDate: Fri May 22 15:19:48 2026 +0800

    fix(ci): fix macOS ci to use provided fmt (#670)
---
 .github/workflows/rc.yml      | 7 +++++++
 .github/workflows/s3_test.yml | 6 ++++++
 .github/workflows/test.yml    | 5 +++++
 3 files changed, 18 insertions(+)

diff --git a/.github/workflows/rc.yml b/.github/workflows/rc.yml
index fa27c99c..a2a85604 100644
--- a/.github/workflows/rc.yml
+++ b/.github/workflows/rc.yml
@@ -105,6 +105,13 @@ jobs:
         shell: bash
         run: sudo apt-get update && sudo apt-get install -y 
libcurl4-openssl-dev
 
+      - name: Install fmt on macOS
+        if: ${{ startsWith(matrix.os, 'macos') }}
+        shell: bash
+        run: |
+          brew install fmt
+          echo "CMAKE_PREFIX_PATH=$(brew --prefix fmt):${CMAKE_PREFIX_PATH:-}" 
>> "${GITHUB_ENV}"
+
       - name: Verify
         run: |
           tar_gz=$(echo apache-iceberg-cpp-*.tar.gz)
diff --git a/.github/workflows/s3_test.yml b/.github/workflows/s3_test.yml
index d9675a4d..8e6fb1ec 100644
--- a/.github/workflows/s3_test.yml
+++ b/.github/workflows/s3_test.yml
@@ -73,6 +73,12 @@ jobs:
         run: |
           echo "CC=${{ matrix.CC }}" >> $GITHUB_ENV
           echo "CXX=${{ matrix.CXX }}" >> $GITHUB_ENV
+      - name: Install fmt on macOS
+        if: ${{ startsWith(matrix.runs-on, 'macos') }}
+        shell: bash
+        run: |
+          brew install fmt
+          echo "CMAKE_PREFIX_PATH=$(brew --prefix fmt):${CMAKE_PREFIX_PATH:-}" 
>> "${GITHUB_ENV}"
       - name: Start MinIO
         shell: bash
         run: bash ci/scripts/start_minio.sh
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 973d2f43..33368bb1 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -74,6 +74,11 @@ jobs:
         uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 
v6.0.2
         with:
           persist-credentials: false
+      - name: Install fmt
+        shell: bash
+        run: |
+          brew install fmt
+          echo "CMAKE_PREFIX_PATH=$(brew --prefix fmt):${CMAKE_PREFIX_PATH:-}" 
>> "${GITHUB_ENV}"
       - name: Build Iceberg
         shell: bash
         run: ci/scripts/build_iceberg.sh $(pwd)

Reply via email to