Skip to content

Commit

Permalink
Wondering if we need a discrete pre-step to set the env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
absurdfarce committed Oct 31, 2024
1 parent b0ca486 commit a0d7d22
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ jobs:
- uses: ilammy/msvc-dev-cmd@v1
- name: Install dependencies
run: vcpkg install libuv zlib:x64-windows-static krb5
- name: Build and run tests
- 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=$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=${{ 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
run: |
echo "LIB is ${{ env.LIB }}"
mkdir build
cd build
Expand Down

0 comments on commit a0d7d22

Please sign in to comment.