You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ze...@apache.org on 2023/03/07 20:24:25 UTC

[arrow] branch main updated: MINOR: [Go][CI] Add openssl to macos CGO runs (#34488)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 6a4c61f716 MINOR: [Go][CI] Add openssl to macos CGO runs (#34488)
6a4c61f716 is described below

commit 6a4c61f7163d9f10568132ecedf311acaa0a269e
Author: Matt Topol <zo...@gmail.com>
AuthorDate: Tue Mar 7 15:24:18 2023 -0500

    MINOR: [Go][CI] Add openssl to macos CGO runs (#34488)
    
    
    
    ### Rationale for this change
    Fix the failing CI runs
    
    Lead-authored-by: Matt Topol <zo...@gmail.com>
    Co-authored-by: Jacob Wujciak-Jens <ja...@wujciak.de>
    Signed-off-by: Matt Topol <zo...@gmail.com>
---
 .github/workflows/go.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 2b0a07de19..e779a4c431 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -308,7 +308,9 @@ jobs:
         run: go install honnef.co/go/tools/cmd/staticcheck@${{ matrix.staticcheck }}
       - name: Build
         shell: bash
-        run: ci/scripts/go_build.sh $(pwd)
+        run: |
+           echo "PKG_CONFIG_PATH=/usr/local/Cellar/openssl@3/3.0.8/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV
+          ci/scripts/go_build.sh $(pwd)
       - name: Test
         shell: bash
         run: ci/scripts/go_test.sh $(pwd)