Skip to content

Commit c1dbe5a

Browse files
committed
Set VCPKG_ROOT in test phase
1 parent 66c1377 commit c1dbe5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/cpp_windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ jobs:
155155
- name: Test
156156
shell: cmd
157157
run: |
158+
set VCPKG_ROOT_KEEP=%VCPKG_ROOT%
158159
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ inputs.arch }}
159160
# For ORC
160161
set TZDIR=${{ steps.setup-msys2.outputs.msys2-location }}\usr\share\zoneinfo
162+
set VCPKG_ROOT=%VCPKG_ROOT_KEEP%
161163
bash -c "ci/scripts/cpp_test.sh $(pwd) $(pwd)/build"

0 commit comments

Comments
 (0)