Skip to content

Commit

Permalink
Trying some debug
Browse files Browse the repository at this point in the history
  • Loading branch information
absurdfarce committed Nov 1, 2024
1 parent a0d7d22 commit c9da3b9
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,30 @@ jobs:
CASS_DRIVER_LIBEV_INCLUDES: C:\vcpkg\packages\libev_x64-windows\include\libev
CASS_DRIVER_LIBEV_LIBS: C:\vcpkg\packages\libev_x64-windows\lib
LIBUV_ROOT_DIR: C:\vcpkg\packages\libuv_x64-windows
LIBUV_LIB_DIR: C:\vcpkg\packages\libuv_x64-windows\lib
ZLIB_ROOT_DIR: C:\vcpkg\packages\zlib_x64-windows-static
ZLIB_LIB_DIR: C:\vcpkg\packages\zlib_x64-windows-static\lib
KERBEROS_ROOT_DIR: C:\vcpkg\packages\krb5_x64-windows
KERBEROS_LIB_DIR: C:\vcpkg\packages\krb5_x64-windows\lib
steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
- name: Install dependencies
run: vcpkg install libuv zlib:x64-windows-static krb5
- name: Setup env vars
run: |
echo "LIBUV_LIB_DIR=${{ LIBUV_ROOT_DIR }}\lib" >> $env:GITHUB_ENV
echo "ZLIB_LIB_DIR=${{ ZLIB_ROOT_DIR }}\lib" >> $env:GITHUB_ENV
echo "KERBEROS_LIB_DIR=${{ KERBEROS_ROOT_DIR }}\lib" >> $env:GITHUB_ENV
- name: Setup env
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=${{ env.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
- name: Build and run tests
echo "LIB=${{ env.LIB }};${{ env.LIBUV_LIB_DIR }};${{ env.ZLIB_LIB_DIR }};${{ env.KERBEROS_LIB_DIR }}" >> $env:GITHUB_ENV
- name: Debug stuff
run: |
echo "LIB is ${{ env.LIB }}"
echo "LIBUV_LIB_DIR: ${{ env.LIBUV_LIB_DIR }}"
echo "LIBUV_LIB_DIR contents:"
ls ${{ env.LIBUV_LIB_DIR }}
- name: Build and run tests
run: |
mkdir build
cd build
cmake -G "NMake Makefiles" -DCASS_BUILD_UNIT_TESTS=On ..
Expand Down

0 comments on commit c9da3b9

Please sign in to comment.