mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-07 16:33:09 +00:00
chore: deprecated go-waku
This commit is contained in:
parent
56383131f2
commit
0f47d57aa8
25
.github/workflows/CI.yml
vendored
25
.github/workflows/CI.yml
vendored
@ -33,21 +33,7 @@ jobs:
|
|||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
- name: Verify libwaku artifacts
|
- name: Verify libwaku artifacts
|
||||||
run: |
|
run: make -C waku check-folders
|
||||||
echo "verify libwaku artifacts in $(pwd)"
|
|
||||||
echo "Checking directory structure:"
|
|
||||||
ls -la vendor/logos-messaging-nim/ || true
|
|
||||||
ls -la vendor/logos-messaging-nim/library/ || true
|
|
||||||
ls -la vendor/logos-messaging-nim/build/ || true
|
|
||||||
if [ ! -f "vendor/logos-messaging-nim/library/libwaku.h" ]; then
|
|
||||||
echo "ERROR: libwaku.h not found"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
if [ ! -f "vendor/logos-messaging-nim/build/libwaku.so" ]; then
|
|
||||||
echo "ERROR: libwaku library not found"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
echo "libwaku artifacts verified successfully"
|
|
||||||
|
|
||||||
- name: Install Go dependencies
|
- name: Install Go dependencies
|
||||||
run: |
|
run: |
|
||||||
@ -58,14 +44,7 @@ jobs:
|
|||||||
- name: Build waku bindings
|
- name: Build waku bindings
|
||||||
run: |
|
run: |
|
||||||
echo "Building waku bindings from $(pwd)/waku"
|
echo "Building waku bindings from $(pwd)/waku"
|
||||||
export LMN_DIR=${{ github.workspace }}/vendor/logos-messaging-nim
|
make -C waku build
|
||||||
export CGO_CFLAGS="-I${LMN_DIR}/library"
|
|
||||||
export CGO_LDFLAGS="-L${LMN_DIR}/build -lwaku -Wl,-rpath,${LMN_DIR}/build"
|
|
||||||
echo "Verifying environment variables:"
|
|
||||||
echo "LMN_DIR=${LMN_DIR}"
|
|
||||||
echo "CGO_CFLAGS=${CGO_CFLAGS}"
|
|
||||||
echo "CGO_LDFLAGS=${CGO_LDFLAGS}"
|
|
||||||
make -C waku build LMN_DIR=${LMN_DIR} LIBWAKU_HEADER_PATH=${LMN_DIR}/library LIBWAKU_LIB_PATH=${LMN_DIR}/build
|
|
||||||
|
|
||||||
- name: Increase ulimit
|
- name: Increase ulimit
|
||||||
run: sudo sh -c "ulimit -n 8192"
|
run: sudo sh -c "ulimit -n 8192"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user