Skip to content

Commit 74e23da

Browse files
authored

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

.github/workflows/test.yml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,13 @@ jobs:
132132
macos:
133133
name: AMD64 macOS 12 Go ${{ matrix.go }}
134134
runs-on: macos-12
135-
timeout-minutes: 15
135+
timeout-minutes: 20
136136
strategy:
137137
fail-fast: false
138138
matrix:
139139
go:
140-
- '1.21'
141140
- '1.22'
141+
- '1.23'
142142
steps:
143143
- name: Checkout
144144
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
@@ -159,6 +159,42 @@ jobs:
159159
- name: Test
160160
run: |
161161
$(brew --prefix)/bin/bash ci/scripts/test.sh $(pwd)
162+
macos-cgo:
163+
name: AMD64 macOS 12 Go ${{ matrix.go }} - CGO
164+
runs-on: macos-12
165+
timeout-minutes: 25
166+
strategy:
167+
fail-fast: false
168+
matrix:
169+
go:
170+
- '1.22'
171+
- '1.23'
172+
env:
173+
ARROW_GO_TESTCGO: "1"
174+
steps:
175+
- name: Checkout
176+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
177+
with:
178+
submodules: recursive
179+
- name: Setup Go
180+
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
181+
with:
182+
go-version: ${{ matrix.go }}
183+
cache: true
184+
cache-dependency-path: go.sum
185+
- name: Brew Install Arrow and pkg-config
186+
shell: bash
187+
run: brew install apache-arrow pkg-config bash
188+
- name: Add To pkg config path
189+
shell: bash
190+
run: |
191+
echo "PKG_CONFIG_PATH=$(brew --prefix openssl@3)/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV
192+
- name: Build
193+
run: |
194+
$(brew --prefix)/bin/bash ci/scripts/build.sh $(pwd)
195+
- name: Test
196+
run: |
197+
$(brew --prefix)/bin/bash ci/scripts/test.sh $(pwd)
162198
windows:
163199
name: AMD64 Windows 2019 Go ${{ matrix.go }}
164200
runs-on: windows-2019

0 commit comments

Comments
 (0)