fix first ci

This commit is contained in:
darshankabariya 2026-01-14 01:01:14 +05:30
parent b6d01c0ca2
commit 239c0d171e
No known key found for this signature in database
GPG Key ID: 9A92CCD9899F0D22
5 changed files with 35 additions and 24 deletions

View File

@ -63,6 +63,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Nim
uses: iffy/install-nim@v5
with:
version: binary:2.2.4
- name: Get submodules hash
id: submodules
run: |
@ -104,6 +109,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Nim
uses: iffy/install-nim@v5
with:
version: binary:2.2.4
- name: Get submodules hash
id: submodules
run: |
@ -171,6 +181,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Nim
uses: iffy/install-nim@v5
with:
version: binary:2.2.4
- name: Get submodules hash
id: submodules
run: |

View File

@ -46,6 +46,12 @@ jobs:
if: ${{ steps.secrets.outcome == 'success' }}
uses: actions/checkout@v4
- name: Install Nim
if: ${{ steps.secrets.outcome == 'success' }}
uses: iffy/install-nim@v5
with:
version: binary:2.2.4
- name: Get submodules hash
id: submodules
if: ${{ steps.secrets.outcome == 'success' }}

View File

@ -44,6 +44,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Nim
uses: iffy/install-nim@v5
with:
version: binary:2.2.4
- name: prep variables
id: vars
run: |

View File

@ -28,6 +28,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Nim
uses: iffy/install-nim@v5
with:
version: binary:2.2.4
- name: Get submodules hash
id: submodules
run: |

View File

@ -33,6 +33,7 @@ jobs:
make
cmake
upx
mingw-w64-x86_64-nim
mingw-w64-x86_64-rust
mingw-w64-x86_64-postgresql
mingw-w64-x86_64-gcc
@ -54,31 +55,10 @@ jobs:
- name: Verify dependencies
run: |
which upx gcc g++ make cmake cargo rustc python
which upx gcc g++ make cmake cargo rustc python nim nimble
- name: Updating submodules
run: git submodule update --init --recursive
- name: Creating tmp directory
run: mkdir -p tmp
- name: Building Nim
run: |
cd vendor/nimbus-build-system/vendor/Nim
./build_all.bat
cd ../../../..
- name: Building miniupnpc
run: |
cd vendor/nim-nat-traversal/vendor/miniupnp/miniupnpc
make -f Makefile.mingw CC=gcc CXX=g++ libminiupnpc.a V=1
cd ../../../../..
- 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 ../../../../
- name: Make update
run: make update
- name: Building wakunode2.exe
run: |