lidavidm commented on code in PR #2858:
URL: https://github.com/apache/arrow-adbc/pull/2858#discussion_r2642059220


##########
.github/workflows/native-windows.yml:
##########
@@ -319,3 +363,57 @@ jobs:
           BUILD_ALL: "0"
           BUILD_DRIVER_SQLITE: "1"
         run: .\ci\scripts\python_test.ps1 $pwd $pwd\build
+
+  # ------------------------------------------------------------
+  # MSVC/vcpkg build (no Conda)
+  # ------------------------------------------------------------
+  drivers-vcpkg:
+    name: "C/C++ (vcpkg/${{ matrix.os }}/${{ matrix.config }})"
+    runs-on: ${{ matrix.os }}
+    strategy:
+      matrix:
+        os: ["windows-latest"]
+        arch: ["x64"]
+        config: ["debug", "release"]
+    steps:
+      - uses: actions/checkout@v5
+        with:
+          fetch-depth: 0
+          persist-credentials: false
+      - name: Add msbuild to PATH
+        uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce 
# v2
+      - name: Setup MSYS2 tools
+        run: |
+          # msys64 is pre-installed on windows but not added to path
+          $env:PATH = 
"C:\msys64\mingw64\bin;C:\msys64\usr\bin\;C:\msys64\ucrt64\bin;$env:PATH"
+          echo "PATH=$env:PATH" >> $env:GITHUB_ENV
+
+          # Needed for gendef tool in GoUtils.cmake
+          pacman --noconfirm -S mingw-w64-i686-tools mingw-w64-x86_64-tools
+      - name: Clone vcpkg
+        run: |
+          git clone https://github.com/microsoft/vcpkg.git
+          cd vcpkg
+          git checkout ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0
+          .\bootstrap-vcpkg.bat

Review Comment:
   ```suggestion
         # TODO(https://github.com/apache/arrow-adbc/issues/3825)
         - name: Clone vcpkg
           run: |
             git clone https://github.com/microsoft/vcpkg.git
             cd vcpkg
             git checkout ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0
             .\bootstrap-vcpkg.bat
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to