Skip to content

Commit 646f347

Browse files
committed
Convert VCPKG Windows path to MSYS path
1 parent 69475da commit 646f347

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cpp_windows.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,5 +159,7 @@ jobs:
159159
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ inputs.arch }}
160160
# For ORC
161161
set TZDIR=${{ steps.setup-msys2.outputs.msys2-location }}\usr\share\zoneinfo
162-
set VCPKG_ROOT=%VCPKG_ROOT_KEEP%
162+
163+
# Convert VCPKG Windows path to MSYS path
164+
for /f "usebackq delims=" %%I in (`bash -c "cygpath -u \"$VCPKG_ROOT_KEEP\""` ) do set VCPKG_ROOT=%%I
163165
bash -c "ci/scripts/cpp_test.sh $(pwd) $(pwd)/build"

0 commit comments

Comments
 (0)