ci improvement - 5

This commit is contained in:
darshankabariya 2026-02-02 03:08:58 +05:30
parent 1ebdcd6a57
commit 7f33781845
No known key found for this signature in database
GPG Key ID: 9A92CCD9899F0D22

View File

@ -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