diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1e44b4c0e..13c722799 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,17 +17,18 @@ jobs: - uses: actions/checkout@v4 - uses: ilammy/msvc-dev-cmd@v1 - name: Install dependencies - run: | - dir C:\msys64 - C:\msys64\pacman -S libuv libuv-devel zlib zlib-devel heimdal-libs mingw-w64-x86_64-ntldd + run: vcpkg install libuv zlib:x64-windows-static krb5 - name: Build and run tests run: | + ln -s C:\vcpkg\packages\zlib_x64-windows-static\lib\zlib.lib C:\vcpkg\packages\zlib_x64-windows-static\lib\zlibstatic.lib + 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 + echo "LIB is ${{ env.LIB }}" mkdir build cd build cmake -G "NMake Makefiles" -DCASS_BUILD_UNIT_TESTS=On .. nmake ls . - ntldd ./cassandra-unit-tests.exe + ldd ./cassandra-unit-tests.exe ./cassandra-unit-tests.exe --gtest_output=xml:gtest-results.xml ls . - name: Publish test results