Skip to content

Commit 4b78fb7

Browse files
committed
Add ARROW_HOME
1 parent c32f221 commit 4b78fb7

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

.github/workflows/cpp_extra.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ jobs:
348348
ARROW_BUILD_TYPE: release
349349
ARROW_DEPENDENCY_SOURCE: VCPKG
350350
ARROW_FLIGHT_SQL_ODBC: ON
351+
ARROW_HOME: /usr
351352
ARROW_SIMD_LEVEL: AVX2
352353
CMAKE_GENERATOR: Ninja
353354
CMAKE_INSTALL_PREFIX: /usr
@@ -429,24 +430,24 @@ jobs:
429430
run: |
430431
vcpkg fetch nuget
431432
# -AL- temp disable.
432-
# - name: Build
433-
# shell: cmd
434-
# run: |
435-
# set VCPKG_ROOT_KEEP=%VCPKG_ROOT%
436-
# call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
437-
# set VCPKG_ROOT=%VCPKG_ROOT_KEEP%
438-
# vcpkg install abseil --debug
439-
# bash -c "ci/scripts/cpp_build.sh $(pwd) $(pwd)/build"
433+
- name: Build
434+
shell: cmd
435+
run: |
436+
set VCPKG_ROOT_KEEP=%VCPKG_ROOT%
437+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
438+
set VCPKG_ROOT=%VCPKG_ROOT_KEEP%
439+
vcpkg install abseil --debug
440+
bash -c "ci/scripts/cpp_build.sh $(pwd) $(pwd)/build"
440441
441-
# - name: Register Flight SQL ODBC Driver
442-
# shell: cmd
443-
# run: |
444-
# call "cpp\src\arrow\flight\sql\odbc\tests\install_odbc.cmd" ${{ github.workspace }}\build\cpp\%ARROW_BUILD_TYPE%\arrow_flight_sql_odbc.dll
445-
# # GH-48270 TODO: Resolve segementation fault during Arrow library unload
446-
# # GH-48269 TODO: Enable Flight & Flight SQL testing in MSVC CI
447-
# # GH-48547 TODO: enable ODBC tests after GH-48270 and GH-48269 are resolved.
442+
- name: Register Flight SQL ODBC Driver
443+
shell: cmd
444+
run: |
445+
call "cpp\src\arrow\flight\sql\odbc\tests\install_odbc.cmd" ${{ github.workspace }}\build\cpp\%ARROW_BUILD_TYPE%\arrow_flight_sql_odbc.dll
446+
# GH-48270 TODO: Resolve segementation fault during Arrow library unload
447+
# GH-48269 TODO: Enable Flight & Flight SQL testing in MSVC CI
448+
# GH-48547 TODO: enable ODBC tests after GH-48270 and GH-48269 are resolved.
448449

449-
# # GH-47787 TODO: Build ODBC installer
450+
# GH-47787 TODO: Build ODBC installer
450451

451452
report-extra-cpp:
452453
if: github.event_name == 'schedule' && always()

0 commit comments

Comments
 (0)