File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,18 @@ jobs:
17
17
- uses : actions/checkout@v4
18
18
- uses : ilammy/msvc-dev-cmd@v1
19
19
- 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
23
21
- name : Build and run tests
24
22
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 }}"
25
26
mkdir build
26
27
cd build
27
28
cmake -G "NMake Makefiles" -DCASS_BUILD_UNIT_TESTS=On ..
28
29
nmake
29
30
ls .
30
- ntldd ./cassandra-unit-tests.exe
31
+ ldd ./cassandra-unit-tests.exe
31
32
./cassandra-unit-tests.exe --gtest_output=xml:gtest-results.xml
32
33
ls .
33
34
- name : Publish test results
You can’t perform that action at this time.
0 commit comments