mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-14 03:43:10 +00:00
fix first ci
This commit is contained in:
parent
b6d01c0ca2
commit
239c0d171e
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@ -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: |
|
||||
|
||||
6
.github/workflows/container-image.yml
vendored
6
.github/workflows/container-image.yml
vendored
@ -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' }}
|
||||
|
||||
5
.github/workflows/pre-release.yml
vendored
5
.github/workflows/pre-release.yml
vendored
@ -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: |
|
||||
|
||||
5
.github/workflows/release-assets.yml
vendored
5
.github/workflows/release-assets.yml
vendored
@ -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: |
|
||||
|
||||
28
.github/workflows/windows-build.yml
vendored
28
.github/workflows/windows-build.yml
vendored
@ -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: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user