From b0ca4866c7f69659329699e60632b9535fde0bc9 Mon Sep 17 00:00:00 2001 From: absurdfarce Date: Wed, 30 Oct 2024 15:53:30 -0500 Subject: [PATCH] Okay, so msys2 isn't in play... back to where we were --- .github/workflows/test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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