File tree Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Original file line number Diff line number Diff line change 46
46
- name : Prepare
47
47
run : |
48
48
ci/scripts/prepare-${{ matrix.os }}.sh ${{ matrix.postgresql-version }}
49
- - name : Install Apache Arrow Flight SQL adapter
50
- run : |
51
- setup_args=(
52
- "--prefix=/tmp/local"
53
- "-Dbenchmark=true"
54
- "-Dpostgresql_dir=$(pg_config --bindir)/.."
55
- )
56
- if [ ${{ matrix.os }} = "macos" ]; then
57
- setup_args+=("--pkg-config-path=$(brew --prefix libpq)/lib/pkgconfig")
58
- fi
59
- meson setup "${setup_args[@]}" build
60
- meson compile -C build
61
- if [ ${{ matrix.os }} = "ubuntu" ]; then
62
- sudo meson install -C build
63
- else
64
- meson install -C build
65
- fi
66
49
- uses : ruby/setup-ruby@v1
67
50
with :
68
51
ruby-version : ruby
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ test_source_distribution() {
203
203
fi
204
204
205
205
meson setup \
206
- --prefix=" ${PWD } /install" \
206
+ --prefix=" ${ARROW_TMPDIR } /install" \
207
207
-Dpostgresql_dir=" $( pg_config --bindir) /.." \
208
208
${ARROW_FLIGHT_SQL_POSTGRESQL_MESON_SETUP_ARGS:- } \
209
209
build
@@ -227,6 +227,7 @@ test_source_distribution() {
227
227
Linux-/usr/* )
228
228
if type sudo > /dev/null 2>&1 ; then
229
229
sudo meson install -C build
230
+ sudo chown -R " ${USER} :" " ${ARROW_TMPDIR} /install"
230
231
else
231
232
meson install -C build
232
233
fi
You can’t perform that action at this time.
0 commit comments