Skip to content

Commit b0ca486

Browse files
committed
Okay, so msys2 isn't in play... back to where we were
1 parent 1921e16 commit b0ca486

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Diff for: .github/workflows/test.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,18 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: ilammy/msvc-dev-cmd@v1
1919
- name: Install dependencies
20-
run: |
21-
dir C:\msys64
22-
C:\msys64\pacman -S libuv libuv-devel zlib zlib-devel heimdal-libs mingw-w64-x86_64-ntldd
20+
run: vcpkg install libuv zlib:x64-windows-static krb5
2321
- name: Build and run tests
2422
run: |
23+
ln -s C:\vcpkg\packages\zlib_x64-windows-static\lib\zlib.lib C:\vcpkg\packages\zlib_x64-windows-static\lib\zlibstatic.lib
24+
echo "LIB=$LIB;C:\vcpkg\packages\libuv_x64-windows\lib;C:\vcpkg\packages\zlib_x64-windows-static\lib;C:\vcpkg\packages\krb5_x64-windows\lib" >> $env:GITHUB_ENV
25+
echo "LIB is ${{ env.LIB }}"
2526
mkdir build
2627
cd build
2728
cmake -G "NMake Makefiles" -DCASS_BUILD_UNIT_TESTS=On ..
2829
nmake
2930
ls .
30-
ntldd ./cassandra-unit-tests.exe
31+
ldd ./cassandra-unit-tests.exe
3132
./cassandra-unit-tests.exe --gtest_output=xml:gtest-results.xml
3233
ls .
3334
- name: Publish test results

0 commit comments

Comments
 (0)