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

kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 0133fd73a3 ARROW-16801: [CI][C++] Use the specified MinIO instead of 
MinIO from Homewbrew (#13362)
0133fd73a3 is described below

commit 0133fd73a35a307917208b3facaeaa8687ac83e1
Author: Raúl Cumplido <[email protected]>
AuthorDate: Thu Jun 16 05:00:47 2022 +0200

    ARROW-16801: [CI][C++] Use the specified MinIO instead of MinIO from 
Homewbrew (#13362)
    
    Our tests have problem with recent MinIO. We pin the version of MinIO to 
make our test stable.
    
    See also: ARROW-16722/#13299
    
    Lead-authored-by: Raúl Cumplido <[email protected]>
    Co-authored-by: Sutou Kouhei <[email protected]>
    Co-authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 .github/workflows/cpp.yml | 7 ++++---
 cpp/Brewfile              | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml
index 82e99160c3..529461d924 100644
--- a/.github/workflows/cpp.yml
+++ b/.github/workflows/cpp.yml
@@ -151,14 +151,16 @@ jobs:
           fetch-depth: 0
           submodules: recursive
       - name: Install Dependencies
-        shell: bash
         run: |
           rm -f /usr/local/bin/2to3
           brew update --preinstall
           brew install --overwrite git
           brew bundle --file=cpp/Brewfile
+      - name: Install MinIO
+        run: |
+          $(brew --prefix bash)/bin/bash \
+            ci/scripts/install_minio.sh latest /usr/local
       - name: Install Google Cloud Storage Testbench
-        shell: bash
         run: ci/scripts/install_gcs_testbench.sh default
       - name: Setup ccache
         run: |
@@ -174,7 +176,6 @@ jobs:
           key: cpp-ccache-macos-${{ hashFiles('cpp/**') }}
           restore-keys: cpp-ccache-macos-
       - name: Build
-        shell: bash
         run: ci/scripts/cpp_build.sh $(pwd) $(pwd)/build
       - name: Test
         shell: bash
diff --git a/cpp/Brewfile b/cpp/Brewfile
index 52b86e4527..9cffd8e3a8 100644
--- a/cpp/Brewfile
+++ b/cpp/Brewfile
@@ -17,6 +17,7 @@
 
 brew "automake"
 brew "aws-sdk-cpp"
+brew "bash"
 brew "boost"
 brew "brotli"
 brew "c-ares"
@@ -29,7 +30,6 @@ brew "grpc"
 brew "llvm"
 brew "llvm@12"
 brew "lz4"
-brew "minio"
 brew "ninja"
 brew "numpy"
 brew "[email protected]"

Reply via email to