diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index e0cbcfe07..134b0cfb5 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -65,15 +65,24 @@ jobs: nimble-version: '0.20.1' repo-token: ${{ secrets.GITHUB_TOKEN }} - - name: Make update (downloads dependencies via nimble) - run: make update + - 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" + which nimble + nimble -v + make update - name: Building wakunode2.exe run: | + export PATH="$NIMBLE_BIN:$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" make libwaku STATIC=0 LOG_LEVEL=DEBUG V=1 -j - name: Check Executable