2727 paths :
2828 - ' .github/workflows/cpp_odbc.yml'
2929 - ' ci/scripts/cpp_*'
30- - ' cpp/src/arrow/flight/sql/odbc/*'
30+ - ' cpp/src/arrow/flight/sql/odbc/** '
3131 pull_request :
3232 paths :
3333 - ' .github/workflows/cpp_odbc.yml'
3434 - ' ci/scripts/cpp_*'
35- - ' cpp/src/arrow/flight/sql/odbc/*'
35+ - ' cpp/src/arrow/flight/sql/odbc/** '
3636 schedule :
3737 - cron : ' 0 13 * * *'
3838
@@ -195,6 +195,7 @@ jobs:
195195 ARROW_BUILD_TESTS : ON
196196 ARROW_FLIGHT_SQL_ODBC : ON
197197 ARROW_HOME : /tmp/local
198+ ARROW_CMAKE_ARGS : " -I${ODBC_INCLUDE_DIR:-}"
198199 steps :
199200 - name : Checkout Arrow
200201 uses : actions/checkout@v6.0.0
@@ -206,7 +207,6 @@ jobs:
206207 brew bundle --file=cpp/Brewfile
207208 export LIBIODBC_DIR="$(brew --cellar libiodbc)/$(brew list --versions libiodbc | awk '{print $2}')"
208209 echo ODBC_INCLUDE_DIR="$LIBIODBC_DIR/include" >> $GITHUB_ENV
209- echo ODBC_LIB_DIR="$LIBIODBC_DIR/lib" >> $GITHUB_ENV
210210 - name : Setup ccache
211211 run : |
212212 ci/scripts/ccache_setup.sh
@@ -231,12 +231,12 @@ jobs:
231231 # include path. So we disable -Werror to avoid build error
232232 # by warnings from packages installed by Homebrew.
233233 export BUILD_WARNING_LEVEL=PRODUCTION
234- ci/scripts/cpp_build.sh $(pwd) $(pwd)/build
234+ bash ci/scripts/cpp_build.sh $(pwd) $(pwd)/build
235235 - name : Register Flight SQL ODBC Driver
236236 run : |
237237 chmod +x cpp/src/arrow/flight/sql/odbc/install/mac/install_odbc.sh
238238 sudo cpp/src/arrow/flight/sql/odbc/install/mac/install_odbc.sh $(pwd)/build/cpp/debug/libarrow_flight_sql_odbc.dylib
239239 - name : Test
240240 shell : bash
241241 run : |
242- ci/scripts/cpp_test.sh $(pwd) $(pwd)/build
242+ bash ci/scripts/cpp_test.sh $(pwd) $(pwd)/build
0 commit comments