Skip to content

Commit c6d1f39

Browse files
committed
Check nuget paths in Ruby Glib and ODBC
1 parent 64db26d commit c6d1f39

File tree

2 files changed

+26
-14
lines changed

2 files changed

+26
-14
lines changed

.github/workflows/cpp_extra.yml

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -420,22 +420,27 @@ jobs:
420420
$(vcpkg fetch nuget | tail -n 1) \
421421
setapikey "${{ secrets.GITHUB_TOKEN }}" \
422422
-source "https://nuget.pkg.github.com/$GITHUB_REPOSITORY_OWNER/index.json"
423-
- name: Build
424-
shell: cmd
425-
run: |
426-
set VCPKG_ROOT_KEEP=%VCPKG_ROOT%
427-
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
428-
set VCPKG_ROOT=%VCPKG_ROOT_KEEP%
429-
bash -c "ci/scripts/cpp_build.sh $(pwd) $(pwd)/build"
430-
- name: Register Flight SQL ODBC Driver
431-
shell: cmd
423+
- name: Show vcpkg NuGet
424+
shell: pwsh
432425
run: |
433-
call "cpp\src\arrow\flight\sql\odbc\tests\install_odbc.cmd" ${{ github.workspace }}\build\cpp\%ARROW_BUILD_TYPE%\arrow_flight_sql_odbc.dll
434-
# GH-48270 TODO: Resolve segementation fault during Arrow library unload
435-
# GH-48269 TODO: Enable Flight & Flight SQL testing in MSVC CI
436-
# GH-48547 TODO: enable ODBC tests after GH-48270 and GH-48269 are resolved.
426+
vcpkg fetch nuget
427+
# -AL- temp disable.
428+
# - name: Build
429+
# shell: cmd
430+
# run: |
431+
# set VCPKG_ROOT_KEEP=%VCPKG_ROOT%
432+
# call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
433+
# set VCPKG_ROOT=%VCPKG_ROOT_KEEP%
434+
# bash -c "ci/scripts/cpp_build.sh $(pwd) $(pwd)/build"
435+
# - name: Register Flight SQL ODBC Driver
436+
# shell: cmd
437+
# run: |
438+
# call "cpp\src\arrow\flight\sql\odbc\tests\install_odbc.cmd" ${{ github.workspace }}\build\cpp\%ARROW_BUILD_TYPE%\arrow_flight_sql_odbc.dll
439+
# # GH-48270 TODO: Resolve segementation fault during Arrow library unload
440+
# # GH-48269 TODO: Enable Flight & Flight SQL testing in MSVC CI
441+
# # GH-48547 TODO: enable ODBC tests after GH-48270 and GH-48269 are resolved.
437442

438-
# GH-47787 TODO: Build ODBC installer
443+
# # GH-47787 TODO: Build ODBC installer
439444

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

.github/workflows/ruby.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,10 +422,17 @@ jobs:
422422
$(vcpkg fetch nuget | tail -n 1) \
423423
setapikey "${{ secrets.GITHUB_TOKEN }}" \
424424
-source "https://nuget.pkg.github.com/$GITHUB_REPOSITORY_OWNER/index.json"
425+
#-AL- for testing, remove later.
426+
- name: Show vcpkg NuGet
427+
shell: pwsh
428+
run: |
429+
vcpkg fetch nuget
425430
- name: Build C++
426431
shell: cmd
427432
run: |
433+
$env:VCPKG_DEBUG = "1"
428434
set VCPKG_ROOT_KEEP=%VCPKG_ROOT%
435+
vcpkg install abseil --debug
429436
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
430437
set VCPKG_ROOT=%VCPKG_ROOT_KEEP%
431438
bash -c "ci/scripts/cpp_build.sh $(pwd) $(pwd)/build"

0 commit comments

Comments
 (0)