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

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


The following commit(s) were added to refs/heads/main by this push:
     new 6a3c506  GH-6: Add test CI: i386 (#106)
6a3c506 is described below

commit 6a3c5068ae359e6ed6d88df4b159f6dda44ef7a6
Author: Raúl Cumplido <[email protected]>
AuthorDate: Mon Sep 9 13:30:38 2024 +0200

    GH-6: Add test CI: i386 (#106)
    
    Fix #6
    
    This part: 
https://github.com/apache/arrow/blob/58415d1fac50cb829b3dcf08526033d6db8c30db/.github/workflows/go.yml#L165-L190
---
 .github/workflows/test.yml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 33c04b6..a3bded6 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -146,3 +146,26 @@ jobs:
       - name: Test
         shell: bash
         run: ci/scripts/test.sh $(pwd)
+  build_test_386:
+    name: Cross-build and test for 386
+    runs-on: ubuntu-latest
+    timeout-minutes: 15
+    steps:
+      - name: Checkout
+        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 
v4.1.7
+        with:
+          submodules: recursive
+      - name: Get required Go version
+        run: |
+          (. .env && echo "GO_VERSION=${GO}") >> $GITHUB_ENV
+      - name: Setup Go
+        uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # 
v5.0.2
+        with:
+          go-version: "${{ env.GO_VERSION }}"
+          cache: true
+          cache-dependency-path: go.sum
+      - name: Build
+        run: GOARCH=386 go build ./...
+      - name: Test
+        # WIP refactor, only tests in the specified dirs have been fixed
+        run: GOARCH=386 go test ./parquet/file/...

Reply via email to