diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 134b0cfb5..7e3bce647 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -68,21 +68,24 @@ jobs: - name: Add Nimble to MSYS2 PATH and run make update run: | # The setup-nimble-action installs to .nimble_runtime/bin but MSYS2 has its own PATH - # Save the nimble path for use in subsequent steps - echo "NIMBLE_BIN=$(pwd)/.nimble_runtime/bin" >> $GITHUB_ENV - export PATH="$(pwd)/.nimble_runtime/bin:$HOME/.nimble/bin:$PATH" + # Also need to add nim-dlls for OpenSSL DLLs (libcrypto, libssl) + export NIMBLE_BIN="$(pwd)/.nimble_runtime/bin" + export NIM_DLLS="$(pwd)/nim-dlls" + echo "NIMBLE_BIN=$NIMBLE_BIN" >> $GITHUB_ENV + echo "NIM_DLLS=$NIM_DLLS" >> $GITHUB_ENV + export PATH="$NIMBLE_BIN:$NIM_DLLS:$HOME/.nimble/bin:$PATH" which nimble nimble -v make update - name: Building wakunode2.exe run: | - export PATH="$NIMBLE_BIN:$HOME/.nimble/bin:$PATH" + export PATH="$NIMBLE_BIN:$NIM_DLLS:$HOME/.nimble/bin:$PATH" make wakunode2 LOG_LEVEL=DEBUG V=3 -j8 - name: Building libwaku.dll run: | - export PATH="$NIMBLE_BIN:$HOME/.nimble/bin:$PATH" + export PATH="$NIMBLE_BIN:$NIM_DLLS:$HOME/.nimble/bin:$PATH" make libwaku STATIC=0 LOG_LEVEL=DEBUG V=1 -j - name: Check Executable