diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 64560c0563..16f9984d00 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -32,33 +32,27 @@ jobs: pacman -S --noconfirm --needed mingw-w64-x86_64-zlib pacman -S --noconfirm --needed mingw-w64-x86_64-openssl pacman -S --noconfirm --needed mingw-w64-x86_64-python - shell: msys2 {0} - name: Add UPX to PATH run: | echo "/usr/bin:$PATH" >> $GITHUB_PATH echo "/mingw64/bin:$PATH" >> $GITHUB_PATH - shell: msys2 {0} - name: Verify dependencies run: | which upx gcc g++ make cmake cargo rustc python - shell: msys2 {0} - name: Updating submodules run: git submodule update --init --recursive - shell: msys2 {0} - name: Creating tmp directory run: mkdir -p tmp - shell: msys2 {0} - name: Building Nim run: | cd vendor/nimbus-build-system/vendor/Nim ./build_all.bat cd ../../../.. - shell: msys2 {0} - name: Building libunwind continue-on-error: true @@ -72,7 +66,6 @@ jobs: echo "libunwind.a not found, skipping copy" fi cd ../../ - shell: msys2 {0} - name: Building miniupnpc run: | @@ -80,14 +73,12 @@ jobs: git checkout little_chore_windows_support make -f Makefile.mingw CC=gcc CXX=g++ libminiupnpc.a V=1 cd ../../../../.. - shell: msys2 {0} - name: Building libnatpmp run: | cd ./vendor/nim-nat-traversal/vendor/libnatpmp-upstream make CC="gcc -fPIC -D_WIN32_WINNT=0x0600 -DNATPMP_STATICLIB" libnatpmp.a V=1 cd ../../../../ - shell: msys2 {0} - name: Building wakunode2 run: | @@ -102,4 +93,3 @@ jobs: echo "Build failed: wakunode2.exe not found" exit 1 fi - shell: msys2 {0}