Skip to content

Commit

Permalink
Okay, so msys2 isn't in play... back to where we were
Browse files Browse the repository at this point in the history
  • Loading branch information
absurdfarce committed Oct 30, 2024
1 parent 1921e16 commit b0ca486
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b0ca486

Please sign in to comment.