Skip to content

Commit c32f221

Browse files
committed
Enable vcpkg verbose in GLib
* confirmed `vcpkg install` command returns 403 error
1 parent cb281bf commit c32f221

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

.github/workflows/cpp_extra.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,14 @@ 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: Show vcpkg NuGet
423+
- name: Show vcpkg NuGet pwsh
424424
shell: pwsh
425425
run: |
426426
vcpkg fetch nuget
427+
- name: Show vcpkg NuGet bash
428+
shell: bash
429+
run: |
430+
vcpkg fetch nuget
427431
# -AL- temp disable.
428432
# - name: Build
429433
# shell: cmd

.github/workflows/ruby.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,18 +423,24 @@ jobs:
423423
setapikey "${{ secrets.GITHUB_TOKEN }}" \
424424
-source "https://nuget.pkg.github.com/$GITHUB_REPOSITORY_OWNER/index.json"
425425
#-AL- for testing, remove later.
426-
- name: Show vcpkg NuGet
426+
- name: Show vcpkg NuGet pwsh
427427
shell: pwsh
428428
run: |
429-
vcpkg fetch nuget
429+
vcpkg fetch nuget
430+
- name: Show vcpkg NuGet bash
431+
shell: bash
432+
run: |
433+
vcpkg fetch nuget
430434
- name: Build C++
431435
shell: cmd
432436
run: |
433437
$env:VCPKG_DEBUG = "1"
434438
set VCPKG_ROOT_KEEP=%VCPKG_ROOT%
435439
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
436440
set VCPKG_ROOT=%VCPKG_ROOT_KEEP%
437-
vcpkg install abseil --debug
441+
# -AL- Below line returns 403 error also.
442+
# But somehow the `cpp_build.sh` vcpkg build succeeds.
443+
# vcpkg install abseil --debug
438444
bash -c "ci/scripts/cpp_build.sh $(pwd) $(pwd)/build"
439445
- name: Build GLib
440446
shell: cmd

cpp/cmake_modules/Usevcpkg.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
message(STATUS "Using vcpkg to find dependencies")
1919

20+
set(VCPKG_VERBOSE ON CACHE BOOL "-AL- test Enable verbose output from vcpkg")
21+
2022
# ----------------------------------------------------------------------
2123
# Define macros
2224

0 commit comments

Comments
 (0)